:root {
    --ink: #36173d;
    --plum: #542257;
    --plum-hover: #421a45;
    --text: #5e4b64;
    --muted: #776b7c;
    --paper: #fcfaf8;
    --soft: #f0e9f1;
    --line: #ddd0df;
    --white: #fff;
    --error: #a52c3b;
    --radius: 12px;
    --shadow: 0 8px 30px #35103b06;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-size: 16px;
    line-height: 1.65
}

h1,
h2,
h3,
p {
    margin: 0
}

h1,
h2,
h3 {
    font-weight: 650;
    letter-spacing: -.035em;
    line-height: 1.16
}

h1 {
    font-size: clamp(36px, 3.8vw, 60px)
}

h2 {
    font-size: 30px
}

h3 {
    font-size: 22px
}

p {
    color: var(--text)
}

a {
    color: var(--plum);
    text-underline-offset: 4px
}

a:hover {
    color: var(--plum-hover)
}

button,
input,
textarea,
select {
    font: inherit
}

button,
a,
input,
select,
textarea,
summary {
    -webkit-tap-highlight-color: transparent
}

button {
    cursor: pointer
}

button:disabled {
    opacity: .6;
    cursor: wait
}

:focus-visible {
    outline: 3px solid #96679e;
    outline-offset: 4px
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline-offset: 2px
}

::selection {
    background: #dfcce3;
    color: #36173d
}

[hidden] {
    display: none !important
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 15px;
    z-index: 20;
    background: var(--plum);
    color: white;
    padding: 10px 20px
}

.skip-link:focus {
    top: 12px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    background: var(--plum);
    border: 1px solid var(--plum);
    color: white;
    min-height: 50px;
    padding: 12px 24px;
    border-radius: 9px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
    transition: background .16s, transform .16s;
    text-align: center
}

.button:hover {
    background: var(--plum-hover);
    color: white;
    transform: translateY(-1px)
}

.button.secondary {
    background: transparent;
    color: var(--plum)
}

.button.secondary:hover {
    background: #eee4ef;
    color: var(--plum)
}

.text-link {
    font-weight: 600;
    text-decoration: none
}

.text-link:hover {
    text-decoration: underline
}

.text-button {
    border: 0;
    background: none;
    color: var(--plum);
    padding: 8px 0;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px
}

.icon {
    width: 52px;
    height: 56px;
    flex-shrink: 0
}

.site-header {
    max-width: 1700px;
    margin: auto;
    padding: 22px 3.6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    min-height: 97px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    line-height: 1.05;
    font-size: 23px;
    letter-spacing: -.7px;
    font-weight: 650;
    white-space: nowrap
}

.brand small {
    display: block;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 4px;
    padding-top: 9px
}

.brand-mark {
    width: 35px;
    height: 49px
}

.brand-mark svg {
    width: 34px;
    height: 43px
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 28px
}

.site-header nav>a {
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap
}

.site-header nav>a[aria-current=page]:not(.button) {
    text-decoration: underline;
    text-underline-offset: 8px
}

.site-header .nav-cta {
    font-size: 14px;
    min-height: 45px;
    padding: 10px 21px
}

.menu-toggle {
    display: none
}

.eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3.3px;
    color: var(--plum);
    margin-bottom: 24px;
    line-height: 1.5
}

.eyebrow b {
    font-size: 10px;
    margin: 0 12px
}

.lead {
    font-size: 23px;
    line-height: 1.5;
    letter-spacing: -.45px
}

.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: 44% 56%;
    min-height: 500px;
    max-width: 1700px;
    margin: auto;
    background: radial-gradient(ellipse at 100% 100%, #ede4ed 0, transparent 60%), #fcf9f7;
    overflow: hidden
}

.hero-photo {
    overflow: hidden;
    border-radius: 0 50% 40% 0/0 65% 80% 0;
    min-height: 500px
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 44% center;
    display: block
}

.hero-copy {
    align-self: center;
    position: relative;
    padding: 48px 7.4% 50px 6.2%;
    z-index: 1
}

.hero-copy h1 {
    font-size: clamp(38px, 4.2vw, 68px);
    line-height: 1.06;
    letter-spacing: -2.5px;
    font-weight: 700;
    margin-bottom: 23px
}

.hero-copy .lead {
    font-size: clamp(20px, 1.85vw, 29px);
    line-height: 1.35
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
    align-items: stretch
}

.hero-actions .button {
    font-size: 17px;
    padding: 14px 22px;
    min-height: 56px;
    gap: 24px
}

.hero-reassurance {
    font-size: 13px;
    margin-top: 19px;
    color: var(--muted)
}

.hero-flourish {
    position: absolute;
    right: 4px;
    bottom: 4px;
    opacity: .35;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(-9deg);
    z-index: -1
}

.hero-flourish svg {
    width: 68px;
    height: 88px
}

.hero-flourish span,
.how-flourish span {
    font-family: 'Segoe Print', 'Bradley Hand', cursive;
    font-size: 19px;
    line-height: 1.45
}

.cancer-band {
    background: #efe8f0;
    padding: 27px 3.6%;
    display: grid;
    grid-template-columns: 25% 1fr;
    gap: 28px;
    align-items: center
}

.cancer-band h2 {
    font-size: 28px;
    letter-spacing: -.9px
}

.cancer-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px
}

.cancer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 20px 8px 16px;
    background: #fcfaf9b0;
    border: 1px solid #cbb6cf;
    border-radius: 10px;
    text-decoration: none;
    min-height: 138px;
    transition: background .15s, transform .15s
}

.cancer-card:hover {
    transform: translateY(-3px);
    background: white
}

.cancer-card .icon {
    height: 52px;
    width: 49px
}

.cancer-card>span {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 17px;
    color: var(--ink);
    font-weight: 500
}

.cancer-card>span>span {
    font-size: 25px;
    font-weight: 300
}

.how-home {
    padding: 45px 3.6% 48px;
    max-width: 1700px;
    margin: auto;
    display: grid;
    grid-template-columns: 27% 1fr 8%;
    gap: 36px
}

.how-home .eyebrow {
    margin-bottom: 18px
}

.how-home h2 {
    font-size: 33px;
    line-height: 1.18;
    margin-bottom: 22px
}

.home-steps {
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 58px;
    list-style: none
}

.home-steps li {
    position: relative
}

.home-steps li:not(:last-child):after {
    content: '';
    position: absolute;
    right: -34px;
    top: 30px;
    width: 55px;
    height: 1px;
    background: #bea9c2
}

.step-number {
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8daeb;
    font-size: 26px;
    font-weight: 650;
    margin-bottom: 14px
}

.home-steps h3 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 9px
}

.home-steps p {
    font-size: 15px;
    line-height: 1.5
}

.how-flourish {
    align-self: center;
    opacity: .43;
    transform: rotate(-8deg)
}

.how-flourish .icon {
    width: 64px;
    height: 86px;
    margin: 0 0 10px 20px
}

.support-band {
    margin: 0 auto;
    padding: 66px 24px;
    background: #f3edf3;
    text-align: center
}

.support-band .eyebrow {
    margin-bottom: 16px
}

.support-band h2 {
    font-size: 35px
}

.support-band>p:not(.eyebrow) {
    max-width: 650px;
    margin: 18px auto 25px
}

.page-wrap {
    max-width: 1240px;
    padding: 0 32px 65px;
    margin: auto
}

.breadcrumbs {
    font-size: 13px;
    display: flex;
    gap: 15px;
    align-items: center;
    color: var(--muted);
    padding: 22px 0 30px
}

.breadcrumbs a {
    text-decoration: none
}

.page-heading {
    max-width: 970px;
    margin: 8px 0 38px
}

.page-heading h1 {
    margin-bottom: 18px
}

.page-heading .eyebrow {
    margin-bottom: 16px
}

.page-heading .lead {
    max-width: 850px;
    font-size: 22px
}

.page-wrap>.cancer-cards {
    margin: 20px 0 45px
}

.page-wrap>.cancer-cards .cancer-card {
    min-height: 165px
}

.prose {
    max-width: 820px;
    margin: 34px 0 44px
}

.prose h2 {
    font-size: 27px;
    margin: 30px 0 12px
}

.prose p+p {
    margin-top: 18px
}

.legal {
    font-size: 16px
}

.notice-version {
    font-size: 13px
}

.information-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 28px 0
}

.info-card {
    border: 1px solid var(--line);
    background: white;
    padding: 34px;
    border-radius: 12px
}

.info-card h2 {
    font-size: 27px;
    margin-bottom: 18px
}

.info-card p {
    margin-bottom: 17px
}

.info-card .button {
    margin-top: 6px
}

.round-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft);
    border-radius: 50%;
    margin-bottom: 23px
}

.round-icon .icon {
    height: 42px;
    width: 42px
}

.comfortable-list {
    padding-left: 21px;
    color: var(--text);
    margin: 18px 0 20px
}

.comfortable-list li {
    padding-left: 5px;
    margin: 11px 0
}

.gentle-cta {
    margin-top: 58px;
    padding: 35px 40px;
    background: #eee5ef;
    border: 1px solid #e4d7e5;
    border-radius: 14px;
    display: flex;
    gap: 35px;
    align-items: center;
    justify-content: space-between
}

.gentle-cta h2 {
    max-width: 530px;
    margin-bottom: 12px;
    font-size: 29px
}

.gentle-cta p {
    max-width: 560px
}

.gentle-cta .eyebrow {
    margin-bottom: 13px
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0
}

.process-list {
    max-width: 900px;
    margin: 10px 0 45px
}

.process-list article {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--line);
    padding: 32px 0
}

.process-list article>span {
    color: #946c9d;
    font-size: 35px;
    line-height: 1;
    font-weight: 300;
    padding-top: 6px
}

.process-list h2 {
    font-size: 27px;
    margin-bottom: 13px
}

.faq-list {
    max-width: 880px;
    margin: 25px 0 40px
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0
}

.faq-list summary {
    font-size: 21px;
    font-weight: 600;
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    cursor: pointer;
    line-height: 1.4
}

.faq-list details p {
    margin: 15px 32px 8px 0
}

.faq-list details[open] summary span {
    transform: rotate(45deg)
}

.soft-notice {
    background: var(--soft);
    border-left: 3px solid #a47aaa;
    border-radius: 0 8px 8px 0;
    padding: 21px 25px;
    margin: 25px 0
}

.soft-notice h2 {
    font-size: 23px;
    margin-bottom: 10px
}

.soft-notice p {
    margin: 6px 0 0
}

.form-page {
    max-width: 1390px
}

.form-page .page-heading {
    margin-bottom: 26px
}

.form-page .page-heading h1 {
    font-size: 40px;
    letter-spacing: -1.4px;
    margin-bottom: 10px
}

.form-page .page-heading .lead {
    font-size: 20px;
    max-width: none
}

.form-page .page-heading .eyebrow {
    font-size: 10px;
    margin-bottom: 10px
}

.stepper {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 24px 0 15px;
    max-width: 900px;
    gap: 0
}

.stepper li {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.3
}

.stepper li:not(:last-child):after {
    content: '';
    height: 1px;
    background: var(--line);
    flex: 1;
    margin: 0 25px
}

.stepper li>span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e9e1ea;
    color: #736577;
    font-weight: 650
}

.stepper .current {
    color: var(--plum);
    font-weight: 650
}

.stepper .current>span {
    background: var(--plum);
    color: white
}

.stepper .complete>span {
    background: #e6d7e9;
    color: var(--plum)
}

.step-note {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    max-width: 850px;
    margin: 10px 0 20px
}

.step-note span {
    font-size: 12px
}

.intake-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.48fr) minmax(330px, 1fr);
    gap: 24px;
    align-items: start
}

.form-card {
    padding: 28px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 0
}

.form-card h2 {
    font-size: 22px;
    letter-spacing: -.5px;
    margin-bottom: 13px;
    margin-top: 18px
}

.form-card h2:first-child {
    margin-top: 0
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px
}

.field {
    min-width: 0;
    margin: 0
}

.field.full {
    grid-column: 1/-1
}

.field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.4
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #baabbf;
    border-radius: 5px;
    background: #fff;
    min-height: 43px;
    padding: 9px 11px;
    color: #302437;
    font-size: 15px;
    line-height: 1.45
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #826489
}

.field input[aria-invalid=true],
.field textarea[aria-invalid=true] {
    border: 2px solid var(--error)
}

.field textarea {
    resize: vertical;
    min-height: 96px
}

.field select {
    padding-right: 28px
}

.form-card>.field {
    margin-bottom: 20px
}

.hint {
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    margin-top: 6px;
    font-weight: 400;
    display: block
}

.hint a {
    color: var(--plum)
}

.optional {
    font-weight: 400;
    color: var(--muted)
}

.required {
    color: #92213c
}

.form-divider {
    height: 1px;
    background: var(--line);
    margin: 25px 0
}

.who {
    padding: 0;
    border: 0;
    margin: 0 0 25px;
    min-width: 0
}

.who legend {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 650;
    margin-bottom: 12px;
    letter-spacing: -.5px
}

.radio-row {
    display: flex;
    gap: 25px;
    flex-wrap: wrap
}

.radio-row label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px
}

.radio-row input,
.check input {
    accent-color: var(--plum);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 1px 0
}

.who .hint {
    margin-top: 12px
}

.optional-section {
    border: 1px solid var(--line);
    border-radius: 7px;
    margin: 23px 0 6px;
    padding: 13px 15px;
    background: #fcfafc
}

.optional-section summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 14px
}

.optional-section summary>span {
    font-size: 11px;
    display: inline-block;
    margin-left: 10px;
    font-weight: 400;
    color: var(--muted)
}

.optional-section[open]>.form-grid {
    margin-top: 18px
}

.optional-section .form-grid {
    gap: 17px
}

.representative-fields {
    margin-top: 22px
}

.consent-box {
    margin-top: 27px;
    padding-top: 20px;
    border-top: 1px solid var(--line)
}

.check {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text);
    cursor: pointer
}

.check input {
    margin-top: 3px
}

.consent-box>.hint {
    padding-left: 29px;
    font-size: 11px
}

.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 23px
}

.form-actions .button {
    font-size: 14px;
    padding: 11px 18px;
    min-height: 46px
}

.save-hint {
    margin-top: 13px
}

.form-aside {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.ai-panel {
    padding: 25px;
    background: linear-gradient(150deg, #f5eff8, #efe7f1 85%);
    border: 1px solid #d8c3de;
    border-radius: var(--radius)
}

.ai-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px
}

.ai-heading>.icon {
    width: 28px;
    height: 30px;
    color: #855b9b
}

.ai-heading h2 {
    font-size: 24px;
    letter-spacing: -.7px
}

.small-tag {
    display: inline-block;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 9px;
    background: #e4d7ed;
    color: #5a3670;
    letter-spacing: 0;
    line-height: 1.5;
    vertical-align: middle
}

.ai-heading>.small-tag {
    margin-left: auto
}

.ai-panel p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px
}

.ai-panel .ai-intro {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.45
}

.ai-panel .hint {
    font-size: 12px
}

.ai-panel .field {
    margin-top: 22px
}

.ai-panel .field textarea {
    font-size: 14px
}

.ai-consent {
    margin: 15px 0 19px;
    font-size: 12px
}

.ai-consent .hint {
    font-size: 11px
}

.ai-button {
    width: 100%;
    font-size: 14px
}

.ai-panel>#ai-skip {
    display: block;
    text-align: center;
    margin: 10px auto 0;
    font-size: 13px
}

.ai-reply {
    border-radius: 8px;
    background: white;
    border: 1px solid #ddcce0;
    margin: 17px 0 10px;
    padding: 15px;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.55
}

.ai-error {
    border-left: 3px solid #a77386
}

.suggestion {
    background: white;
    border: 1px solid var(--line);
    padding: 12px;
    border-radius: 7px;
    margin: 10px 0
}

.suggestion label {
    font-size: 12px;
    font-weight: 600;
    display: block
}

.suggestion textarea {
    width: 100%;
    font: inherit;
    font-size: 13px;
    border: 1px solid var(--line);
    padding: 7px;
    margin: 8px 0;
    resize: vertical;
    border-radius: 4px
}

.suggestion button {
    width: 100%;
    font-size: 12px;
    min-height: 35px;
    padding: 7px
}

.human-card {
    background: white;
    border: 1px solid var(--line);
    padding: 21px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-radius: 10px
}

.human-card>.icon {
    padding: 9px;
    background: var(--soft);
    border-radius: 50%;
    width: 51px;
    height: 51px
}

.human-card h3 {
    font-size: 16px;
    letter-spacing: -.25px;
    margin-bottom: 6px
}

.human-card p {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 9px
}

.human-card a {
    font-size: 13px
}

.urgent-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #edeaee;
    padding: 18px;
    border-radius: 9px;
    margin-top: 5px;
    max-width: 100%
}

.urgent-note p {
    font-size: 11px;
    line-height: 1.6;
    color: #635967
}

.urgent-note strong {
    color: #3b3042;
    font-size: 11px
}

.info-mark {
    border: 2px solid #b4a6b8;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    line-height: 22px;
    text-align: center;
    color: #76637e;
    font-family: Georgia, serif;
    font-weight: bold;
    flex-shrink: 0
}

.next-card {
    padding: 29px;
    background: var(--soft);
    border-radius: 12px;
    border: 1px solid var(--line)
}

.next-card h2 {
    font-size: 29px;
    margin-bottom: 20px
}

.next-card p {
    font-size: 15px;
    margin: 16px 0
}

.next-card .eyebrow {
    font-size: 10px;
    margin-top: 0
}

.simple-steps {
    padding-left: 20px;
    color: var(--text)
}

.simple-steps li {
    padding-left: 6px;
    margin-bottom: 19px;
    font-size: 15px
}

.callback-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(310px, 1fr);
    max-width: 1120px
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px
}

.section-heading a {
    font-size: 13px
}

.review-summary {
    margin: 25px 0
}

.review-row {
    border-bottom: 1px solid #ece4ed;
    padding: 13px 0;
    display: grid;
    grid-template-columns: 39% 1fr;
    gap: 22px;
    font-size: 14px
}

.review-row dt {
    font-weight: 600;
    line-height: 1.45
}

.review-row dd {
    margin: 0;
    color: var(--text);
    white-space: pre-wrap;
    overflow-wrap: anywhere
}

.muted {
    color: #847687;
    font-size: 12px
}

.review-edit {
    margin-top: 18px;
    font-size: 14px
}

.back-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 13px
}

.result-page {
    max-width: 820px;
    text-align: center;
    padding-top: 65px;
    padding-bottom: 75px
}

.result-mark {
    background: var(--soft);
    color: var(--plum);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin: 0 auto 24px
}

.result-page h1 {
    font-size: 43px;
    margin-bottom: 18px
}

.result-page .lead {
    font-size: 22px
}

.result-page .eyebrow {
    margin-bottom: 15px
}

.result-page h2 {
    font-size: 26px;
    margin: 27px 0 14px
}

.result-page>p {
    margin: 16px auto
}

.result-page .form-actions {
    justify-content: center
}

.result-page .urgent-note {
    margin-top: 32px;
    text-align: left
}

.reference-box {
    background: var(--soft);
    border: 1px solid var(--line);
    padding: 22px 30px;
    margin: 28px 0;
    border-radius: 12px
}

.reference-box>span {
    display: block;
    font-size: 13px
}

.reference-box strong {
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 2px
}

.reference-box p {
    font-size: 12px;
    margin-top: 8px
}

.error-summary {
    padding: 22px;
    background: #fff4f3;
    border: 1px solid #cf96a0;
    border-left: 4px solid var(--error);
    border-radius: 8px;
    margin-bottom: 24px
}

.error-summary h2 {
    font-size: 21px;
    color: #842338
}

.error-summary ul {
    margin-bottom: 0;
    color: #842338;
    font-size: 14px
}

.field-error {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: var(--error);
    margin-top: 6px
}

.resume-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    background: var(--soft);
    border-radius: 9px;
    margin-bottom: 20px;
    font-size: 13px
}

.resume-bar p {
    font-size: 13px
}

.resume-bar button {
    font-size: 13px
}

.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%)
}

.narrow {
    max-width: 720px
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 35px 3.6% 20px;
    background: #fbf9fb
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 35px;
    max-width: 1550px;
    margin: auto;
    padding-bottom: 28px
}

.footer-top .brand {
    font-size: 20px
}

.footer-top>div>p {
    font-size: 12px;
    margin-top: 14px
}

.footer-top nav {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-self: center
}

.site-footer nav a {
    font-size: 12px;
    text-decoration: none
}

.site-footer nav a:hover {
    text-decoration: underline
}

.footer-bottom {
    border-top: 1px solid #e6dde8;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding-top: 16px;
    max-width: 1550px;
    margin: auto
}

.footer-bottom p {
    font-size: 10px
}

.footer-bottom nav {
    display: flex;
    gap: 20px
}

.footer-bottom nav a {
    font-size: 10px
}

.footer-note {
    color: #88778d
}

.print-button {
    margin-top: 14px
}

@media(min-width:1700px) {
    .cancer-band {
        padding-left: calc((100% - 1580px)/2);
        padding-right: calc((100% - 1580px)/2)
    }

    .home-hero {
        border-radius: 0 0 12px 12px
    }
}

@media(max-width:1180px) {
    .site-header nav {
        gap: 18px
    }

    .site-header nav>a {
        font-size: 12px
    }

    .brand {
        font-size: 20px
    }

    .site-header .nav-cta {
        font-size: 12px;
        padding: 10px 13px
    }

    .hero-copy {
        padding: 42px 6%
    }

    .hero-copy h1 {
        font-size: 48px
    }

    .hero-actions {
        flex-wrap: wrap
    }

    .hero-actions .button {
        font-size: 14px;
        min-height: 47px;
        padding: 12px 15px
    }

    .home-hero,
    .hero-photo {
        min-height: 480px
    }

    .cancer-band {
        grid-template-columns: 22% 1fr;
        gap: 22px
    }

    .cancer-band h2 {
        font-size: 23px
    }

    .cancer-card>span {
        font-size: 14px;
        gap: 10px
    }

    .home-steps {
        gap: 36px
    }

    .how-home {
        grid-template-columns: 27% 1fr;
        gap: 34px
    }

    .how-home h2 {
        font-size: 28px
    }

    .how-flourish {
        display: none
    }

    .home-steps h3 {
        font-size: 20px
    }

    .home-steps li:not(:last-child):after {
        width: 35px;
        right: -16px
    }

    .intake-layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr);
        gap: 20px
    }

    .form-card {
        padding: 23px
    }

    .ai-panel {
        padding: 22px
    }

    .hero-flourish {
        opacity: .2
    }
}

@media(max-width:920px) {
    .site-header {
        flex-wrap: wrap;
        min-height: 80px;
        padding: 18px 25px
    }

    .menu-toggle {
        display: flex;
        gap: 15px;
        align-items: center;
        background: transparent;
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 7px 12px;
        color: var(--plum);
        font-size: 14px
    }

    .site-header nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        border-top: 1px solid var(--line);
        padding-top: 18px;
        gap: 18px
    }

    .js-ready .site-header nav:not(.is-open) {
        display: none
    }

    .site-header nav>a {
        font-size: 14px
    }

    .home-hero {
        grid-template-columns: 42% 58%;
        min-height: 430px
    }

    .hero-photo {
        min-height: 430px;
        border-radius: 0 40% 30% 0/0 50% 70% 0
    }

    .hero-copy h1 {
        font-size: 39px;
        letter-spacing: -1.4px
    }

    .hero-copy .eyebrow {
        font-size: 9px;
        letter-spacing: 2px
    }

    .hero-copy .eyebrow b {
        margin: 0 4px
    }

    .hero-copy .lead {
        font-size: 20px
    }

    .hero-copy .desktop-break {
        display: none
    }

    .hero-flourish {
        display: none
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-top: 24px
    }

    .cancer-band {
        grid-template-columns: 1fr;
        padding: 27px 25px
    }

    .cancer-band h2 br {
        display: none
    }

    .cancer-card {
        min-height: 120px
    }

    .cancer-card>span {
        gap: 8px
    }

    .how-home {
        grid-template-columns: 1fr;
        padding: 36px 25px
    }

    .how-home h2 br {
        display: none
    }

    .how-home h2 {
        max-width: 620px;
        font-size: 29px
    }

    .how-home .text-link {
        font-size: 14px
    }

    .home-steps {
        gap: 50px
    }

    .home-steps h3 {
        font-size: 21px
    }

    .home-steps li:not(:last-child):after {
        right: -22px;
        width: 50px
    }

    .intake-layout {
        grid-template-columns: minmax(0, 1fr)
    }

    .form-aside {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start
    }

    .ai-panel {
        grid-row: span 2
    }

    .form-aside>.urgent-note {
        margin: 0
    }

    .next-card {
        grid-row: span 2
    }

    .page-wrap {
        padding: 0 25px 50px
    }

    .form-page .page-heading h1 {
        font-size: 36px
    }

    .form-page .page-heading .lead {
        font-size: 18px
    }

    .gentle-cta {
        padding: 28px;
        flex-direction: column;
        align-items: flex-start
    }

    .cta-actions {
        flex-direction: row;
        flex-wrap: wrap
    }

    .footer-top {
        flex-direction: column
    }

    .footer-bottom {
        flex-wrap: wrap
    }

    .result-page {
        padding-top: 45px
    }
}

@media(max-width:600px) {
    body {
        font-size: 15px
    }

    .site-header {
        padding: 16px 20px
    }

    .brand {
        font-size: 20px
    }

    .brand small {
        font-size: 8px;
        letter-spacing: 3px
    }

    .brand-mark {
        width: 27px
    }

    .brand-mark svg {
        width: 27px
    }

    .site-header nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px
    }

    .site-header nav .button {
        width: 100%
    }

    .home-hero {
        display: flex;
        flex-direction: column-reverse
    }

    .hero-copy {
        padding: 30px 23px 32px
    }

    .hero-copy h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
        line-height: 1.08;
        margin-bottom: 20px
    }

    .hero-copy .eyebrow {
        font-size: 9px;
        letter-spacing: 2.6px;
        margin-bottom: 20px
    }

    .hero-copy .lead {
        font-size: 20px;
        line-height: 1.4
    }

    .hero-actions {
        flex-direction: row;
        align-items: stretch;
        gap: 10px;
        margin-top: 25px
    }

    .hero-actions .button {
        padding: 12px 15px;
        font-size: 13px;
        gap: 12px;
        flex: 1
    }

    .hero-reassurance {
        font-size: 12px;
        margin-top: 16px
    }

    .hero-photo {
        height: 265px;
        min-height: 0;
        flex: none;
        border-radius: 0 70px 0 0
    }

    .hero-photo img {
        object-position: center 40%
    }

    .cancer-band {
        padding: 27px 20px;
        gap: 20px
    }

    .cancer-band h2 {
        font-size: 25px
    }

    .cancer-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px
    }

    .cancer-card {
        min-height: 132px
    }

    .cancer-card:last-child {
        grid-column: 1/-1;
        flex-direction: row;
        min-height: 85px;
        gap: 23px
    }

    .cancer-card>span {
        font-size: 16px
    }

    .cancer-card>span>span {
        font-size: 24px
    }

    .how-home {
        padding: 34px 22px;
        gap: 25px
    }

    .how-home h2 {
        font-size: 30px
    }

    .home-steps {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .home-steps li {
        padding-left: 66px;
        min-height: 80px
    }

    .step-number {
        position: absolute;
        top: 2px;
        left: 0;
        width: 43px;
        height: 43px;
        font-size: 23px
    }

    .home-steps h3 {
        font-size: 21px;
        margin-bottom: 8px
    }

    .home-steps h3 br {
        display: none
    }

    .home-steps li:not(:last-child):after {
        display: none
    }

    .home-steps p {
        font-size: 14px;
        max-width: 320px
    }

    .support-band {
        padding: 44px 22px
    }

    .support-band h2 {
        font-size: 29px
    }

    .support-band p {
        font-size: 15px
    }

    .page-wrap {
        padding: 0 18px 40px
    }

    .breadcrumbs {
        font-size: 11px;
        padding: 18px 0 22px
    }

    .page-heading {
        margin: 4px 0 27px
    }

    .page-heading h1 {
        font-size: 35px
    }

    .page-heading .lead {
        font-size: 18px
    }

    .page-heading .eyebrow {
        font-size: 10px;
        letter-spacing: 2.5px
    }

    .form-page .page-heading h1 {
        font-size: 33px;
        letter-spacing: -1px
    }

    .form-page .page-heading .lead {
        font-size: 17px
    }

    .stepper {
        gap: 10px;
        margin: 25px 0 18px
    }

    .stepper li {
        font-size: 11px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        position: relative
    }

    .stepper li>span {
        width: 31px;
        height: 31px;
        font-size: 13px
    }

    .stepper li:not(:last-child):after {
        position: absolute;
        top: 15px;
        left: 36px;
        right: 0;
        margin: 0;
        max-width: 70px
    }

    .step-note {
        font-size: 12px;
        gap: 10px
    }

    .step-note span {
        white-space: nowrap;
        font-size: 10px;
        padding-top: 2px
    }

    .form-card {
        padding: 20px 17px;
        border-radius: 10px
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .who legend {
        font-size: 19px
    }

    .radio-row {
        gap: 15px
    }

    .radio-row label {
        font-size: 13px
    }

    .optional-section {
        padding: 11px 12px
    }

    .optional-section summary span {
        display: block;
        margin: 5px 0 0 16px
    }

    .form-card h2 {
        font-size: 22px
    }

    .field label {
        font-size: 14px
    }

    .field input,
    .field select,
    .field textarea {
        font-size: 16px;
        min-height: 44px
    }

    .check {
        font-size: 12px
    }

    .consent-box {
        margin-top: 23px
    }

    .form-actions {
        gap: 11px;
        flex-direction: column;
        align-items: stretch
    }

    .form-actions .button {
        width: 100%;
        font-size: 14px
    }

    .form-aside {
        display: flex;
        flex-direction: column
    }

    .form-aside>* {
        width: 100%
    }

    .ai-panel {
        padding: 23px 19px
    }

    .ai-heading h2 {
        font-size: 24px
    }

    .ai-panel .field textarea {
        font-size: 16px
    }

    .human-card {
        padding: 20px
    }

    .urgent-note {
        padding: 17px
    }

    .information-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .info-card {
        padding: 26px 23px
    }

    .info-card h2 {
        font-size: 25px
    }

    .gentle-cta {
        margin-top: 35px;
        padding: 26px 23px;
        gap: 22px
    }

    .gentle-cta h2 {
        font-size: 27px
    }

    .cta-actions {
        flex-direction: column;
        width: 100%
    }

    .cta-actions .button {
        width: 100%;
        font-size: 14px
    }

    .process-list article {
        gap: 18px;
        padding: 25px 0
    }

    .process-list article>span {
        font-size: 27px
    }

    .process-list h2 {
        font-size: 24px
    }

    .faq-list summary {
        font-size: 18px
    }

    .faq-list details p {
        font-size: 14px;
        margin-right: 0
    }

    .prose h2 {
        font-size: 25px
    }

    .review-row {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 15px 0
    }

    .section-heading {
        align-items: flex-start
    }

    .section-heading h2 {
        font-size: 22px
    }

    .section-heading a {
        font-size: 11px
    }

    .review-row dd {
        font-size: 14px
    }

    .resume-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px
    }

    .result-page {
        padding-top: 38px
    }

    .result-page h1 {
        font-size: 34px
    }

    .result-page .lead {
        font-size: 18px
    }

    .reference-box {
        padding: 20px 17px
    }

    .reference-box strong {
        font-size: 21px;
        letter-spacing: 1.3px
    }

    .footer-top {
        gap: 23px;
        padding-bottom: 22px
    }

    .site-footer {
        padding: 30px 22px 22px
    }

    .footer-top nav {
        gap: 12px 20px;
        align-self: flex-start
    }

    .footer-bottom {
        gap: 14px;
        flex-direction: column
    }

    .footer-bottom nav {
        flex-wrap: wrap;
        gap: 15px
    }

    .soft-notice {
        padding: 18px
    }

    .result-page .soft-notice {
        text-align: left
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important
    }
}

@media print {

    .site-header,
    .site-footer,
    .form-aside,
    .form-actions,
    .menu-toggle {
        display: none !important
    }

    .page-wrap {
        max-width: none;
        padding: 0
    }

    .intake-layout {
        display: block
    }

    .form-card {
        border: 0;
        padding: 0
    }

    .review-row {
        break-inside: avoid
    }

    body {
        background: white;
        color: black
    }
}

.hero-flourish {
    right: 22px;
    bottom: 12px
}

.clear-draft {
    font-size: 11px;
    margin-top: 9px
}

/* Original Default.aspx.vb local-test banner. */
.test-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: #b42318;
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
}

.test-details {
    margin: 12px 20px;
    font-size: 12px;
    color: #65536a;
}

/* Cancer-type illustrations: consistent size and plum artwork. */
.cancer-card .cancer-illustration {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
}

.cancer-card {
    gap: 12px;
    padding: 16px 8px 14px;
    min-height: 160px;
}

.round-icon.cancer-artwork {
    width: 88px;
    height: 88px;
    padding: 0;
    background: transparent;
}

.round-icon.cancer-artwork .cancer-illustration {
    width: 88px;
    height: 88px;
}

@media (max-width:600px) {
    .cancer-card {
        min-height: 150px;
    }

    .cancer-card:last-child {
        min-height: 105px;
    }

    .cancer-card:last-child .cancer-illustration {
        width: 68px;
        height: 68px;
    }
}

/* Optional guided AI conversation. Native dialog keeps focus inside the popup. */
body.ai-dialog-open {
    overflow: hidden;
}

.ai-dialog {
    width: min(680px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 20px 80px #36173d33;
    overscroll-behavior: contain;
}

.ai-dialog::backdrop {
    background: #24112799;
}

.ai-dialog [hidden] {
    display: none !important;
}

.ai-dialog-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.ai-dialog-header h2 {
    font-size: 28px;
    margin-top: 6px;
}

.ai-close {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-size: 28px;
    line-height: 1;
}

.ai-dialog .ai-reply {
    margin: 20px 0;
    font-size: 16px;
}

.ai-dialog h3 {
    font-size: 22px;
    line-height: 1.4;
    margin: 18px 0 10px;
}

.ai-dialog .hint {
    font-size: 14px;
    line-height: 1.6;
}

.ai-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 20px;
}

.ai-choice {
    padding: 10px 14px;
    min-height: 44px;
    max-width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--plum);
    text-align: left;
    white-space: normal;
    line-height: 1.5;
}

.ai-choice:hover {
    background: var(--soft);
    border-color: var(--plum);
}

.ai-conversation-actions,
.ai-dialog-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-top: 20px;
}

.ai-dialog-footer {
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

.ai-dialog-footer > .hint,
.ai-dialog-footer > #ai-reset {
    flex-basis: 100%;
    text-align: left;
}

.ai-dialog .text-button,
.ai-dialog .text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    white-space: normal;
}

.ai-history-details {
    margin-top: 24px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.ai-history-details summary {
    cursor: pointer;
    padding: 8px 0;
}

.ai-history {
    padding-left: 24px;
    font-size: 14px;
}

.ai-history li {
    margin: 16px 0;
}

.ai-history p,
.ai-shared-words,
.ai-preview-card p,
.ai-existing {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ai-shared-words {
    margin: 8px 0 20px;
    padding: 8px 14px;
    border-left: 3px solid var(--line);
    font-size: 15px;
}

.ai-preview-card {
    padding: 16px 20px;
    margin: 12px 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--soft);
}

.ai-preview-card h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--plum);
}

.ai-preview-card p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
}

.ai-dialog .suggestion {
    padding: 20px;
    margin: 18px 0;
}

.ai-dialog .suggestion textarea,
.ai-dialog .suggestion select {
    width: 100%;
}

.ai-dialog .suggestion .button {
    white-space: normal;
}

.ai-dialog .suggestion .hint {
    margin: 10px 0;
}

@media (max-width: 600px) {
    .ai-dialog {
        width: calc(100% - 16px);
        max-height: calc(100dvh - 16px);
        padding: 20px;
        border-radius: 12px;
    }

    .ai-dialog-header h2 {
        font-size: 24px;
    }

    .ai-choice,
    .ai-conversation-actions > .button {
        width: 100%;
    }

    .ai-dialog .suggestion {
        padding: 14px;
    }
}

/* Only relevant optional details are shown in the enquiry and review. */
.form-card:has(input[name="enquiryFor"][value="myself"]:checked) .representative-fields {
    display: none;
}

.review-remaining {
    padding: 18px 20px;
    margin: 24px 0;
    background: var(--soft);
    border-radius: 10px;
}

.review-remaining > p {
    font-weight: 600;
    color: var(--ink);
}

.review-remaining .optional-section {
    border: 0;
    padding: 0;
    margin: 12px 0 0;
}

.review-remaining summary {
    padding: 8px 0;
    min-height: 44px;
}

.review-remaining .review-summary {
    margin-bottom: 0;
}

.review-remaining .review-row a {
    display: inline-block;
    padding: 4px 0;
}
