:root {
  color-scheme: light;
  --paper: #fbf7ec;
  --ink: #10231b;
  --text: #213029;
  --green: #405e22;
  --green-deep: #314b19;
  --olive: #d3dbaf;
  --pale: #edf0d7;
  --line: #dfdfcf;
  --page-padding: clamp(17px, 5.2vw, 28px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
a, button, label { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
.prompt:has(:focus-visible) { outline: 3px solid #62863a; outline-offset: 3px; }
h1:focus, h2:focus, main:focus { outline: none; }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.skip-link { position: fixed; z-index: 5; top: 8px; left: 8px; background: white; padding: 8px 12px; }
.skip-link:not(:focus) { clip-path: inset(50%); }

.page {
  isolation: isolate;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: env(safe-area-inset-top);
  background: radial-gradient(ellipse at 52% 30%, #fffcf4 0%, var(--paper) 62%);
}

.site-header, main { width: min(100%, 490px); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px var(--page-padding) 4px;
  min-height: 62px;
}

.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.brand-mark { width: 48px; height: 32px; color: #f5a900; }
.brand-name { display: block; font-size: 1.55rem; font-weight: 850; line-height: 1; letter-spacing: -.06em; }
.brand-caption { display: block; margin-top: 4px; font-size: .56rem; font-weight: 800; letter-spacing: .105em; }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -7px;
  padding: 5px;
  border: 0;
  border-radius: 10px;
  color: var(--green);
  background: transparent;
  cursor: pointer;
}
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: var(--pale); }
.menu-toggle .icon { width: 31px; height: 31px; stroke-width: 2; }
.menu {
  position: absolute;
  top: calc(100% + 5px);
  right: var(--page-padding);
  width: min(270px, calc(100% - 2 * var(--page-padding)));
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fffdf6;
  box-shadow: 0 12px 32px #25371d20;
}
.menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}
.menu a:hover { background: var(--pale); }

main { flex: 1; }
.screen { padding-inline: var(--page-padding); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.05; font-weight: 850; letter-spacing: -.04em; }
p { line-height: 1.33; }

.hero {
  position: relative;
  isolation: isolate;
  padding: 17px 0 14px;
}
.hero-image {
  position: absolute;
  z-index: -1;
  top: 0;
  right: calc(-1 * var(--page-padding));
  width: 54%;
  height: 87%;
  max-height: 266px;
  object-fit: cover;
  object-position: center 32%;
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%), linear-gradient(to right, transparent, #000 30%);
  mask-image: linear-gradient(to bottom, #000 68%, transparent 100%), linear-gradient(to right, transparent, #000 30%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero h1 {
  position: relative;
  width: max-content;
  max-width: 66%;
  font-size: clamp(1.57rem, 6.8vw, 2.12rem);
  line-height: 1.035;
  letter-spacing: -.055em;
}
.hero h1 span { display: block; }
.hero-underline {
  display: block;
  width: 91px;
  height: 12px;
  margin: 9px 0 7px;
  color: var(--green);
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2px;
  stroke-linecap: round;
}
.hero p {
  position: relative;
  max-width: min(71%, 270px);
  color: var(--text);
  font-size: clamp(.86rem, 3.72vw, 1rem);
  font-weight: 530;
}

.primary, .secondary, .donate-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.primary {
  width: 100%;
  padding: 9px 12px;
  border-radius: 17px;
  color: #fffef5;
  background: linear-gradient(110deg, #405f24, #3e5b20 70%, #496527);
  box-shadow: 0 3px 5px #26381926, inset 0 1px #ffffff1d;
}
.primary:hover { background: var(--green-deep); }
.ask-button { min-height: 55px; border-radius: 40px; font-size: clamp(1.23rem, 5.75vw, 1.62rem); letter-spacing: -.023em; }
.ask-button .ask-button-mark { width: 34px; height: 34px; }
.ask-divider { height: 28px; width: 1px; margin-inline: 6px; background: #f7f9e894; }
.primary .icon:last-child, .secondary .icon, .donate-button .icon { width: 21px; height: 21px; }
.ask-button .icon:last-child { margin-left: 2px; width: 25px; height: 25px; }
.ask-note { text-align: center; color: var(--text); font-size: .9rem; margin: 8px auto 15px; max-width: 310px; }

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-inline: -5px; }
.benefit { display: flex; align-items: center; flex-direction: column; text-align: center; border-radius: 15px;
  padding: 10px 5px 11px; min-height: 119px; }
.benefit:nth-child(1) { background: #eef0d8; color: #4d6b2d; }
.benefit:nth-child(2) { background: #fcf0cb; color: #ac6700; }
.benefit:nth-child(3) { background: #fce5d6; color: #b44823; }
.benefit .icon { width: 37px; height: 37px; margin-bottom: 5px; stroke-width: 1.5; }
.benefit h2 { color: var(--ink); font-size: clamp(.91rem, 3.9vw, 1.075rem); }
.benefit p { margin-top: 4px; color: var(--text); font-size: clamp(.73rem, 3.32vw, .91rem); line-height: 1.24; }

.donation { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 16px auto 10px; }
.donation-mark { color: #d74e29; width: 33px; height: 33px; }
.donation-content { padding-left: 12px; border-left: 1.5px solid #db643c; }
.donation h2 { font-size: clamp(.91rem, 4.25vw, 1.09rem); line-height: 1.1; margin-bottom: 6px; }
.donate-button {
  width: fit-content;
  min-height: 38px;
  padding: 4px 16px;
  border-radius: 60px;
  background: linear-gradient(115deg, #f3dfad, #f7e8bd 73%, #f1dca7);
  font-size: .91rem;
}
.donate-button:hover { background: #f0d597; }

.back-link { display: inline-flex; align-items: center; gap: 5px; min-height: 38px; margin-left: -3px;
  text-decoration: none; font-size: .88rem; font-weight: 620; }
.back-link .icon { width: 18px; height: 18px; }
.back-link:hover, .change-link:hover { text-decoration-thickness: 2px; text-decoration-line: underline; }

.ask-heading, .result-heading { text-align: center; }
.ask-heading { margin: -12px auto 11px; }
.round-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 5px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #e4e9c9, #cdd8a5); color: var(--green); }
.round-icon .icon { width: 43px; height: 43px; stroke-width: 1.6; }
.ask-heading h1, .compose-heading h1, .result-heading h1 { font-size: clamp(1.73rem, 7.45vw, 2.2rem); }
.ask-heading h2 { margin-top: 8px; font-size: 1.1rem; }
.ask-heading p { max-width: 295px; margin: 5px auto 0; font-size: .9rem; color: var(--text); }
.topic-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.topic-row { display: flex; align-items: center; gap: 8px; min-height: 49px; padding: 3px 6px;
  border: 1px solid var(--line); border-radius: 13px; background: #fffcf34d; text-decoration: none; }
.topic-row:hover { border-color: #9fae80; background: #f2f3e3; }
.topic-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px;
  background: #f0f1d9; color: var(--green); flex: none; }
.topic-icon .icon { width: 29px; height: 29px; stroke-width: 1.65; }
.topic-text { flex: 1; min-width: 0; }
.topic-text strong, .topic-text small { display: block; }
.topic-text strong { font-size: .97rem; letter-spacing: -.022em; line-height: 1.08; }
.topic-text small { font-size: .79rem; color: var(--text); line-height: 1.16; margin-top: 2px; }
.topic-next { width: 17px; height: 17px; }

.topic-banner { display: flex; align-items: center; gap: 10px; padding: 0 12px; min-height: 43px;
  border-radius: 12px; background: #edf0d6; }
.topic-banner .icon { width: 27px; height: 27px; color: var(--green); }
.topic-banner strong { font-size: .99rem; }
.change-link { margin-left: auto; color: var(--green-deep); font-size: .86rem; font-weight: 720;
  display: inline-flex; align-items: center; min-height: 43px; padding-inline: 3px; }
.compose-heading { margin: 12px 0 12px; }
.compose-heading p { margin-top: 5px; color: var(--text); font-size: .94rem; }
.prompts { display: grid; gap: 3px; padding: 0; margin: 0 0 10px; border: 0; min-width: 0; }
#prompt-options { display: grid; gap: 3px; }
.prompts legend { padding: 0; margin-bottom: 6px; font-size: .88rem; font-weight: 760; }
.prompt { display: flex; align-items: center; gap: 8px; min-height: 33px; padding: 4px 8px;
  border: 1px solid var(--line); border-radius: 9px; background: #fffcf34d; color: var(--text);
  font-size: .84rem; line-height: 1.16; cursor: pointer; }
.prompt:hover { background: #f2f3e3; }
.prompt input { appearance: none; display: grid; place-items: center; margin: 0;
  width: 17px; height: 17px; flex: none; border: 1.5px solid #648142; border-radius: 50%; }
.prompt input:checked { border-color: var(--green); background: var(--green); }
.prompt input:checked::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: #fffef4; }
.field { display: block; margin: 0 0 8px; }
.field-name { display: block; margin-bottom: 4px; font-size: .94rem; font-weight: 770; }
.field textarea, .field input { width: 100%; min-height: 41px; padding: 7px 10px; border: 1px solid #bcbfb6;
  border-radius: 9px; color: var(--ink); background: #fff; font-size: 1rem; }
.field textarea { min-height: 80px; display: block; resize: vertical; }
.field ::placeholder { color: #666f69; opacity: 1; }
.email-control { position: relative; display: block; }
.email-control .icon { position: absolute; top: 50%; left: 10px; width: 19px; height: 19px;
  transform: translateY(-50%); pointer-events: none; color: #3b5236; }
.email-control input { padding-left: 36px; }
.send-button { margin-top: 12px; }
.send-button:disabled { cursor: wait; opacity: .75; }
.send-status { text-align: center; color: #53604d; margin-top: 4px; font-size: .82rem; }
.send-status:empty { margin: 0; }
.form-note { display: flex; justify-content: center; align-items: center; gap: 3px; color: #48524a;
  margin-top: 7px; font-size: .75rem; }
.form-note .icon { width: 14px; height: 14px; }
.preview-note { text-align: center; color: #53604d; margin-top: 4px; font-size: .74rem; }
.form-error { color: #a12f19; font-size: .86rem; text-align: center; margin-top: 6px; }

.screen-result { padding-top: clamp(25px, 8vh, 71px); }
.result-heading .round-icon { position: relative; color: #506b31; background: #eef0d6;
  width: 109px; height: 109px; margin-bottom: 12px; }
.result-heading .round-icon .icon { width: 73px; height: 73px; stroke-width: 1.25; }
.result-rays { position: absolute; top: 0; right: -6px; width: 33px; height: 31px; }
.result-heading h1 { max-width: 310px; margin: auto; }
.result-heading .thanks { margin-top: 12px; font-size: 1.13rem; font-weight: 630; }
.result-heading .result-note { max-width: 310px; margin: 8px auto 0; color: var(--text); font-size: .94rem; }
.next-steps { margin: 20px auto 0; border-radius: 16px; background: #eef0d6; padding: 12px 13px 14px; }
.next-steps h2 { display: flex; align-items: center; gap: 10px; font-size: 1.01rem; }
.next-steps h2 .icon { color: var(--green); width: 33px; height: 33px; }
.next-steps ul { display: grid; gap: 5px; list-style: none; margin: 6px 0 0; padding: 0; }
.next-steps li { display: flex; align-items: flex-start; gap: 8px; color: var(--text); font-size: .9rem; line-height: 1.23; }
.next-steps li .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--green-deep); stroke-width: 2.2; }
.secondary { background: #d2dbaf; color: var(--ink); border-radius: 16px; width: min(100%, 235px);
  min-height: 47px; margin: 22px auto 0; padding: 6px 12px; }
.secondary:hover { background: #c4d299; }

.landscape { display: block; width: 100%; height: clamp(60px, 10.6svh, 105px);
  margin-top: 13px; padding-bottom: env(safe-area-inset-bottom); box-sizing: content-box;
  background: linear-gradient(to top, #537333 0 env(safe-area-inset-bottom), transparent env(safe-area-inset-bottom)); }
.landscape svg { display: block; width: 100%; height: 100%; }
.page[data-screen="topics"] .landscape-sun, .page[data-screen="compose"] .landscape-sun { display: none; }

@media (max-width: 350px) {
  .hero h1 { max-width: 72%; }
  .topic-text small { font-size: .75rem; }
  .donation { gap: 8px; }
  .donation-content { padding-left: 8px; }
}

@media (min-width: 375px) and (min-height: 765px) {
  .site-header { padding-top: 14px; min-height: 67px; }
  .hero { padding-top: 22px; padding-bottom: 19px; }
  .hero-underline { margin-top: 12px; margin-bottom: 9px; }
  .ask-button { min-height: 59px; }
  .ask-note { margin-top: 9px; margin-bottom: 18px; }
  .benefit { min-height: 135px; padding-top: 13px; }
  .donation { margin-top: 19px; }
  .topic-row { min-height: 55px; }
  .ask-heading { margin-bottom: 13px; }
  .prompt { min-height: 36px; }
  .compose-heading { margin-block: 15px; }
  .field textarea { min-height: 91px; }
}

@media (min-width: 400px) and (min-height: 830px) {
  .hero { padding-top: 24px; padding-bottom: 22px; }
  .benefit { min-height: 145px; }
  .donation { margin-top: 23px; }
  .topic-row { min-height: 60px; }
  .topic-list { gap: 5px; }
  .ask-heading { margin-bottom: 15px; }
  .round-icon { width: 69px; height: 69px; }
  .field textarea { min-height: 99px; }
  .field { margin-bottom: 10px; }
}

@media (min-width: 700px) {
  .site-header { width: min(100%, 930px); min-height: 77px; }
  .screen-home { width: min(calc(100vw - 56px), 700px); margin-left: 50%; transform: translateX(-50%); }
  .hero { padding: 39px 0 26px; min-height: 310px; }
  .hero h1 { font-size: 3.15rem; }
  .hero p { max-width: 340px; font-size: 1.08rem; }
  .hero-image { right: 0; width: 53%; height: 100%; max-height: 330px; object-position: center 34%; }
  .ask-button { max-width: 435px; margin-inline: auto; }
  .benefits { gap: 10px; margin-inline: 0; }
  .benefit { min-height: 122px; padding-inline: 10px; }
  .benefit p { max-width: 170px; }
  .donation { margin-top: 20px; }
  .screen-result { padding-top: 61px; }
  .landscape { height: 113px; }
}

@media (prefers-reduced-motion: no-preference) {
  .primary, .secondary, .topic-row, .prompt { transition: background-color 140ms, border-color 140ms; }
}
