/* /start-the-process: a standalone landing page for the succession ads.
   Kept apart from site.css so the main site's header, buttons and sections don't apply. */
:root {
  --brick: #B4553A;
  --beige: #E5CEBC;
  --beige-soft: #F3E7DD;
  --sage: #8CAEA6;
  --ink: #333333;
  --muted: #666666;
  --line: #EEE4DC;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.65;
}
a { color: var(--brick); }
.st-wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

.st-header { padding: 20px 0; border-bottom: 1px solid var(--line); }
.st-header img { height: 44px; width: auto; display: block; }

.st-hero { background: var(--beige); padding: 64px 0 56px; }
h1, h2 { font-family: 'Times New Roman', Times, 'Liberation Serif', serif; font-weight: 400; color: var(--brick); }
h1 { font-size: clamp(38px, 6vw, 56px); line-height: 1.08; margin: 0 0 16px; }
.st-hero p { font-size: 20px; margin: 0; max-width: 34em; }

section { padding: 48px 0 8px; }
h2 { font-size: clamp(28px, 4vw, 34px); line-height: 1.2; margin: 0 0 14px; }
h3 { font-family: 'Times New Roman', Times, 'Liberation Serif', serif; font-weight: 400; color: var(--brick); font-size: 23px; line-height: 1.25; margin: 0 0 6px; }
.benefit { border-left: 3px solid var(--beige); padding: 2px 0 2px 18px; margin: 22px 0 0; }
.benefit p { margin: 0; }
p { margin: 0 0 16px; }

.looks-for { list-style: none; padding: 0; margin: 8px 0 0; }
.looks-for li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--line); }
.looks-for li:last-child { border-bottom: 0; }
.looks-for li::before {
  content: ""; position: absolute; left: 4px; top: 21px;
  width: 12px; height: 12px; background: var(--brick);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.check { background: var(--beige-soft); border-radius: 6px; padding: 28px 28px 12px; margin-top: 8px; }
.check ol { margin: 0 0 16px; padding-left: 1.4em; }
.check li { padding: 6px 0; }
.check li::marker { color: var(--brick); font-weight: 600; }
.check .note { font-weight: 500; }

.st-cta { background: var(--brick); color: #fff; margin-top: 56px; padding: 56px 0; text-align: center; }
.st-cta h2 { color: #fff; margin-bottom: 8px; }
.st-cta p { margin: 0 auto 28px; max-width: 32em; }
.st-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.st-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 14px 28px; border-radius: 4px;
  font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid #fff;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.st-btn-outline { background: transparent; color: #fff; }
.st-btn-outline:hover, .st-btn-outline:focus-visible { background: rgba(255, 255, 255, .12); }
.st-btn-solid { background: #fff; color: var(--brick); }
.st-btn-solid:hover, .st-btn-solid:focus-visible { background: var(--beige); border-color: var(--beige); }
.st-btn:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }

.st-footer { padding: 28px 0 40px; font-size: 14px; color: var(--muted); text-align: center; }
.st-footer a { color: var(--muted); }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .st-hero { padding: 44px 0 40px; }
  .st-hero p { font-size: 18px; }
  .check { padding: 22px 18px 8px; }
  /* buttons stack on phones in page order, so the main action comes first */
  .st-buttons { flex-direction: column; align-items: stretch; }
  .st-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .st-btn, .st-choice span { transition: none; } }

/* concern form, on the brick section: big tappable answers for phones (the audience is 55+) */
.st-hide { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.st-concern { position: relative; max-width: 520px; margin: 0 auto; text-align: left; }
.st-choices { border: 0; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.st-choice { position: relative; display: block; cursor: pointer; }
.st-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.st-choice span {
  display: flex; align-items: center; min-height: 58px; padding: 12px 18px;
  border: 2px solid rgba(255, 255, 255, .85); border-radius: 6px;
  font-size: 18px; font-weight: 500; line-height: 1.3; color: #fff;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.st-choice:hover span { background: rgba(255, 255, 255, .12); }
.st-choice input:checked + span { background: #A3C1A3; border-color: #A3C1A3; color: #1F2A22; }
.st-choice input:focus-visible + span { outline: 3px solid #fff; outline-offset: 3px; }
.st-field { margin-bottom: 14px; }
.st-field label { display: block; font-size: 16px; font-weight: 500; margin-bottom: 6px; color: #fff; }
.st-field input { width: 100%; height: 54px; border: 0; border-radius: 6px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--ink); background: #fff; }
.st-field input::placeholder { color: #8A7A70; }
.st-field input:focus { outline: 3px solid #A3C1A3; outline-offset: 2px; }
.st-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* the spam check takes no space unless Cloudflare needs the visitor to answer it */
#cn-turnstile { height: 0; overflow: hidden; }
#cn-turnstile.is-asking { height: auto; overflow: visible; margin: 4px 0 8px; }
.st-send {
  width: 100%; min-height: 58px; margin-top: 6px; border: 2px solid #fff; border-radius: 6px;
  background: #fff; color: var(--brick); font: inherit; font-size: 18px; font-weight: 600; cursor: pointer;
}
.st-send:hover, .st-send:focus-visible { background: var(--beige); border-color: var(--beige); }
.st-send:focus-visible { outline: 3px solid #A3C1A3; outline-offset: 3px; }
.st-send:disabled { opacity: .75; cursor: default; }
.st-cta .st-error { max-width: none; margin: 12px 0 0; padding: 10px 14px; border-radius: 6px; background: #fff; color: #8F2F1C; font-size: 16px; font-weight: 500; }
.st-cta .st-small { margin: 12px 0 0; font-size: 15px; text-align: center; max-width: none; opacity: .9; }
.st-cta .st-thanks { max-width: 520px; margin: 0 auto; padding: 22px 24px; border-radius: 6px; background: #A3C1A3; color: #1F2A22; font-size: 20px; font-weight: 500; outline: none; }
#concern + .st-buttons { margin-top: 36px; }
@media (max-width: 600px) {
  .st-choice span { font-size: 17px; }
}

/* page load: the opening lines rise in, pages cross-fade (same as site.css) */
@keyframes page-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes page-fade-in { from { opacity: 0; } }
@keyframes page-fade-out { to { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .st-hero .st-wrap > :where(h1, h1 + p) { animation: page-rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
  .st-hero .st-wrap > h1 + p { animation-delay: 70ms; }

  @view-transition { navigation: auto; types: page; }
  html:active-view-transition-type(page)::view-transition-old(root) { animation: page-fade-out 0.2s ease both; }
  html:active-view-transition-type(page)::view-transition-new(root) { animation: page-fade-in 0.3s ease both; }
}
