.intake-success {
  min-height: 230px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  padding: 20px 0 10px;
  text-align: center;
}
.intake-demo { margin-left: auto; padding: 12px 0; border: 0; background: none; color: var(--soft-text, #c4c8cc); font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; }
.intake-demo:hover { color: var(--text, #fff); }
.intake-demo:focus-visible { outline: 2px solid var(--theme-focus, #c8e1f0); outline-offset: 4px; }
.intake-demo + .intake-submit { margin-left: 0; }
.intake-success p { margin: 0; color: var(--soft-text, #c4c8cc); }
.intake-success-link { font-size: .875rem; text-decoration: underline; text-underline-offset: 4px; }
.intake-success-mark { width: 80px; height: 80px; color: var(--theme-focus, #c8e1f0); animation: intake-mark-in 500ms cubic-bezier(.2,.8,.2,1) both; }
.intake-success-mark circle,
.intake-success-mark path { stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.intake-success-mark circle { stroke-dasharray: 202; stroke-dashoffset: 202; animation: intake-ring 650ms ease-out forwards; }
.intake-success-mark path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: intake-tick 450ms ease-out 450ms forwards; }
@keyframes intake-mark-in { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }
@keyframes intake-ring { to { stroke-dashoffset: 0; } }
@keyframes intake-tick { to { stroke-dashoffset: 0; } }

.thankyou-page { min-height: 100dvh; background: var(--page-bg); color: var(--text); }
.thankyou-header { padding: 32px max(5.2vw, 24px); }
.thankyou-header .brand { width: fit-content; font-size: 1.9rem; }
.thankyou-header .brand svg { width: 36px; height: 28px; }
.thankyou-main { min-height: calc(100dvh - 102px); display: grid; place-items: center; padding: 36px max(5.2vw, 24px) 80px; }
.thankyou-card { width: min(100%, 760px); padding: clamp(28px, 5vw, 64px); border: 1px solid var(--theme-border); border-radius: 18px; background: radial-gradient(circle at 100% 0%, #c8e1f018, transparent 48%), var(--panel); box-shadow: 0 30px 100px #0003; }
.thankyou-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 40px; border: 1px solid var(--theme-border); border-radius: 50%; color: var(--theme-focus); }
.thankyou-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.thankyou-card .eyebrow { color: var(--soft-text); }
.thankyou-card h1 { max-width: 660px; margin: 18px 0 22px; font-size: clamp(3.1rem, 7vw, 5.6rem); line-height: 1.03; }
.thankyou-lead { max-width: 590px; margin: 0; color: var(--soft-text); font-size: clamp(1.125rem, 2vw, 1.3rem); line-height: 1.55; }
.thankyou-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 48px 0 34px; padding: 28px 0 0; border-top: 1px solid var(--theme-border); list-style: none; }
.thankyou-steps li { display: grid; gap: 10px; font-size: .9rem; line-height: 1.4; }
.thankyou-steps span { color: var(--soft-text); font-size: .8rem; letter-spacing: .09em; }
.thankyou-card .button { margin-top: 8px; }
.thankyou-preview { margin: 10px 0 24px; padding: 14px 17px; border: 1px solid var(--theme-border); border-radius: 8px; color: var(--soft-text); font-size: .875rem; }
.thankyou-demo { margin: 0 0 30px; padding: 14px 17px; border: 1px solid var(--theme-border); border-radius: 8px; color: var(--text); font-size: .875rem; }
[data-theme="light"] .thankyou-card { background: radial-gradient(circle at 100% 0%, #665e4312, transparent 48%), var(--panel); box-shadow: 0 24px 80px #2526201c; }
@media (max-width: 600px) {
  .thankyou-header { padding-top: 24px; }
  .thankyou-main { place-items: start center; min-height: auto; padding-top: 18px; }
  .thankyou-card { padding: 28px 24px; }
  .thankyou-icon { margin-bottom: 30px; }
  .thankyou-steps { grid-template-columns: 1fr; gap: 16px; margin-top: 34px; }
  .thankyou-steps li { grid-template-columns: 32px 1fr; align-items: baseline; gap: 8px; }
  .intake-demo { order: 3; width: 100%; margin-left: 0; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .intake-success-mark,
  .intake-success-mark circle,
  .intake-success-mark path { animation: none; }
  .intake-success-mark circle,
  .intake-success-mark path { stroke-dashoffset: 0; }
}
