:root {
    --ipb-blue: #0b3b97;
    --ipb-blue-dark: #082d73;
    --ipb-blue-bright: #1765d5;
    --ipb-blue-soft: #eef4ff;
    --ipb-blue-pale: #f7faff;
    --text-dark: #17233c;
    --text-body: #53617a;
    --text-muted: #77839a;
    --border: #dce5f2;
    --surface: #ffffff;
    --page-bg: #f7faff;
    --success: #16834b;
    --danger: #bd3434;
    --warning: #b96708;
    --shadow-sm: 0 10px 30px rgba(11, 59, 151, 0.08);
    --shadow-lg: 0 28px 70px rgba(11, 44, 103, 0.17);
}

.is-hidden {
    display: none !important;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--page-bg);
    color: var(--text-dark);
    font-family: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
}

button,
input,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

svg {
    display: block;
}

.site-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(220, 229, 242, 0.88);
    box-shadow: 0 5px 22px rgba(11, 45, 115, 0.06);
}

.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.brand-logo {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    object-fit: contain;
}

.brand span {
    display: flex;
    flex-direction: column;
}

.brand strong {
    color: var(--ipb-blue);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.1;
}

.brand small {
    margin-top: 5px;
    color: #33415c;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav a,
.nav-contact {
    position: relative;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: var(--ipb-blue-dark);
    cursor: pointer;
    font-weight: 700;
}

.header-nav a::after,
.nav-contact::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    background: var(--ipb-blue);
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after,
.nav-contact:hover::after,
.nav-contact:focus-visible::after {
    transform: scaleX(1);
}

.landing-body {
    background: #fff;
}

.landing-hero {
    position: relative;
    min-height: calc(100vh - 164px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 9% 23%, rgba(23, 101, 213, 0.09) 0 2px, transparent 3px) 0 0 / 30px 30px,
        linear-gradient(115deg, #fff 0%, #fff 50%, #f1f7ff 100%);
}

.landing-hero::before {
    content: "";
    position: absolute;
    width: 660px;
    height: 660px;
    right: -270px;
    bottom: -330px;
    border-radius: 50%;
    border: 1px solid rgba(23, 101, 213, 0.13);
    box-shadow: 0 0 0 80px rgba(23, 101, 213, 0.025), 0 0 0 160px rgba(23, 101, 213, 0.02);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(460px, 1.06fr);
    align-items: center;
    gap: clamp(54px, 7vw, 100px);
    padding-top: 64px;
    padding-bottom: 72px;
}

.hero-copy {
    max-width: 610px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--ipb-blue);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-kicker i {
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background: var(--ipb-blue-bright);
}

.hero-copy h1 {
    margin: 0;
    color: var(--text-dark);
    font-size: clamp(3.15rem, 5.3vw, 5.1rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.hero-copy h1 span {
    color: var(--ipb-blue);
}

.hero-description {
    max-width: 600px;
    margin: 28px 0 0;
    color: var(--text-body);
    font-size: 1.03rem;
    line-height: 1.72;
}

.hero-emphasis {
    max-width: 540px;
    margin: 18px 0 0;
    padding-left: 18px;
    border-left: 3px solid var(--ipb-blue-bright);
    color: var(--ipb-blue-dark);
    font-size: 1.09rem;
    font-weight: 700;
    line-height: 1.45;
}

.primary-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 27px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--ipb-blue-bright), var(--ipb-blue));
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    box-shadow: 0 13px 28px rgba(11, 59, 151, 0.25);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.primary-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.primary-button:hover,
.primary-button:focus-visible {
    color: #fff;
    background: linear-gradient(135deg, #1d70e7, var(--ipb-blue-dark));
    box-shadow: 0 16px 34px rgba(11, 59, 151, 0.3);
    transform: translateY(-2px);
}

.primary-button:disabled {
    background: #98a9c5;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.hero-button {
    min-width: 184px;
    margin-top: 30px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 24px;
    margin-top: 25px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.trust-row svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: var(--success);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-visual {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-frame {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    aspect-ratio: 0.94;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.98);
    border-radius: 50% 50% 18% 50%;
    background: var(--ipb-blue-soft);
    box-shadow: var(--shadow-lg);
}

.hero-image-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgba(8, 45, 115, 0.1));
    pointer-events: none;
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.visual-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(23, 101, 213, 0.2);
}

.visual-orbit-one {
    width: 570px;
    height: 570px;
}

.visual-orbit-two {
    width: 500px;
    height: 500px;
    border-style: dashed;
    transform: rotate(22deg);
}

.floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    border: 1px solid rgba(220, 229, 242, 0.95);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 15px 35px rgba(11, 44, 103, 0.15);
    backdrop-filter: blur(8px);
}

.floating-card strong,
.floating-card small {
    display: block;
    white-space: nowrap;
}

.floating-card strong {
    color: var(--text-dark);
    font-size: 0.92rem;
}

.floating-card small {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.floating-card-ai {
    top: 65px;
    right: -6px;
}

.floating-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--ipb-blue-soft);
    color: var(--ipb-blue);
    font-size: 0.82rem;
    font-weight: 800;
}

.floating-card-growth {
    bottom: 56px;
    left: -24px;
}

.floating-card-growth > svg {
    width: 37px;
    height: 37px;
    padding: 7px;
    border-radius: 10px;
    background: #eaf7f0;
    fill: none;
    stroke: var(--success);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-footer {
    background: var(--ipb-blue-dark);
    color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.9rem;
}

.screening-body {
    background: var(--page-bg);
}

.screening-hero {
    position: relative;
    overflow: hidden;
    padding: 52px 0 120px;
    background:
        radial-gradient(circle at 84% 26%, rgba(255, 255, 255, 0.14) 0 2px, transparent 3px) 0 0 / 28px 28px,
        linear-gradient(135deg, var(--ipb-blue-dark), var(--ipb-blue-bright));
    color: #fff;
}

.screening-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -270px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.03), 0 0 0 140px rgba(255, 255, 255, 0.02);
}

.screening-heading {
    position: relative;
    z-index: 1;
    text-align: center;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--ipb-blue-bright);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.screening-heading .eyebrow {
    color: #bcd6ff;
}

.screening-heading h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.screening-heading > p:last-child {
    max-width: 690px;
    margin: 15px auto 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.04rem;
}

.screening-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    margin-top: -72px;
    padding-bottom: 72px;
}

.screening-aside,
.form-panel {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.screening-aside {
    position: sticky;
    top: 24px;
}

.aside-image {
    height: 220px;
    overflow: hidden;
    background: var(--ipb-blue-soft);
}

.aside-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 38% 48%;
}

.aside-content {
    padding: 27px 28px 30px;
}

.aside-number {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--ipb-blue-soft);
    color: var(--ipb-blue);
    font-weight: 800;
}

.aside-content h2 {
    margin: 18px 0 8px;
    color: var(--ipb-blue-dark);
    font-size: 1.33rem;
    line-height: 1.25;
}

.aside-content > p {
    margin: 0;
    color: var(--text-body);
    font-size: 0.94rem;
}

.aside-content ul {
    display: grid;
    gap: 9px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    color: var(--text-body);
    font-size: 0.9rem;
}

.aside-content li {
    position: relative;
    padding-left: 23px;
}

.aside-content li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 0.42em;
    width: 11px;
    height: 6px;
    border-bottom: 2px solid var(--success);
    border-left: 2px solid var(--success);
    transform: rotate(-45deg);
}

.privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    padding: 15px;
    border-radius: 11px;
    background: #f5f8fd;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.privacy-note svg {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    fill: none;
    stroke: var(--ipb-blue);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.privacy-note strong {
    display: block;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.form-panel {
    padding: clamp(28px, 4vw, 46px);
}

.status-alert {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 28px;
    padding: 14px 17px;
    border: 1px solid;
    border-radius: 10px;
    font-size: 0.9rem;
}

.status-alert-warning {
    border-color: #f0d19e;
    background: #fff8ec;
    color: #7c4e0b;
}

.status-alert-error {
    border-color: #efc0c0;
    background: #fff4f4;
    color: var(--danger);
}

.form-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
}

.form-section-heading > span {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--ipb-blue);
    color: #fff;
    font-weight: 800;
}

.form-section-heading h2 {
    margin: 0;
    color: var(--ipb-blue-dark);
    font-size: 1.35rem;
    line-height: 1.25;
}

.form-section-heading p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px 20px;
}

.fixed-form-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
}

.field-group {
    min-width: 0;
}

.field-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
}

.field-group legend {
    display: block;
    width: 100%;
    margin-bottom: 7px;
    padding: 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
}

.field-group label em,
.field-group legend em {
    color: var(--danger);
    font-style: normal;
}

fieldset.field-group {
    margin: 0;
    padding: 0;
    border: 0;
}

.form-grid-full {
    grid-column: 1 / -1;
}

.radio-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-options label {
    min-width: 102px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #cdd8e7;
    border-radius: 9px;
    background: #fff;
    color: var(--text-body);
    cursor: pointer;
    font-weight: 700;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.radio-options label:hover,
.radio-options label:has(input:checked) {
    border-color: var(--ipb-blue-bright);
    background: var(--ipb-blue-pale);
}

.radio-options label:has(input:focus-visible) {
    box-shadow: 0 0 0 3px rgba(23, 101, 213, 0.12);
}

.field-group .radio-options input[type="radio"] {
    width: 18px;
    height: 18px;
    min-height: 18px;
    flex: 0 0 18px;
    margin: 0;
    padding: 0;
    appearance: none;
    border: 2px solid #8490a5;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
}

.field-group .radio-options input[type="radio"]:checked {
    border: 5px solid var(--ipb-blue);
    background: #fff;
}

.field-group .radio-options input[type="radio"]:focus {
    border-color: var(--ipb-blue);
    box-shadow: none;
}

.field-group input,
.field-group select {
    width: 100%;
    min-height: 49px;
    padding: 0 14px;
    border: 1px solid #cdd8e7;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: var(--text-dark);
    font-size: 0.94rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field-group input::placeholder {
    color: #9ba7ba;
}

.field-group input:focus,
.field-group select:focus {
    border-color: var(--ipb-blue-bright);
    box-shadow: 0 0 0 3px rgba(23, 101, 213, 0.12);
}

.select-wrap {
    position: relative;
}

.select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
}

.field-group select {
    padding-right: 42px;
    appearance: none;
}

.field-error {
    display: block;
    margin-top: 5px;
    color: var(--danger);
    font-size: 0.8rem;
}

.form-divider {
    height: 1px;
    margin: 35px 0;
    background: var(--border);
}

.empty-fields {
    grid-column: 1 / -1;
    padding: 30px;
    border: 1px dashed var(--border);
    border-radius: 10px;
    background: var(--ipb-blue-pale);
    color: var(--text-muted);
    text-align: center;
}

.form-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 30px;
    padding: 16px 18px;
    border-left: 3px solid var(--ipb-blue-bright);
    border-radius: 0 9px 9px 0;
    background: var(--ipb-blue-pale);
}

.form-disclaimer svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: var(--ipb-blue);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.form-disclaimer p {
    margin: 0;
    color: var(--text-body);
    font-size: 0.87rem;
}

.form-disclaimer strong {
    display: block;
    color: var(--text-dark);
}

.submit-button {
    width: 100%;
    margin-top: 24px;
}

.button-spinner {
    width: 19px;
    height: 19px;
    display: none;
    flex: 0 0 19px;
    border: 2px solid rgba(255, 255, 255, 0.38);
    border-top-color: #fff;
    border-radius: 50%;
    animation: button-spin 700ms linear infinite;
}

.submit-button.is-loading .button-spinner {
    display: block;
}

.submit-button.is-loading .button-arrow {
    display: none;
}

@keyframes button-spin {
    to { transform: rotate(360deg); }
}

.app-modal[hidden] {
    display: none !important;
}

.app-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 20, 52, 0.62);
    backdrop-filter: blur(4px);
}

.modal-card {
    position: relative;
    z-index: 1;
    width: min(100%, 530px);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 38px;
    border: 1px solid rgba(220, 229, 242, 0.9);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(4, 20, 52, 0.3);
}

.modal-x {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0 0 3px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}

.modal-x:hover,
.modal-x:focus-visible {
    border-color: var(--ipb-blue);
    color: var(--ipb-blue);
}

.contact-card {
    text-align: center;
}

.contact-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: var(--ipb-blue-soft);
}

.contact-icon svg {
    width: 33px;
    height: 33px;
    fill: var(--ipb-blue);
}

.contact-card h2 {
    margin: 0;
    color: var(--ipb-blue-dark);
    font-size: 1.7rem;
}

.contact-address {
    margin: 14px 0;
    color: var(--text-body);
    line-height: 1.65;
}

.text-link {
    color: var(--ipb-blue);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.secondary-button {
    min-height: 44px;
    display: block;
    min-width: 130px;
    margin: 26px auto 0;
    padding: 0 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--ipb-blue);
    cursor: pointer;
    font-weight: 700;
}

.secondary-button:hover,
.secondary-button:focus-visible {
    border-color: var(--ipb-blue);
    background: var(--ipb-blue-pale);
}

.result-modal-card {
    width: min(100%, 620px);
    text-align: center;
}

.result-symbol {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto 17px;
    border-radius: 22px;
    background: #e8f7ef;
}

.result-symbol svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: var(--success);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.result-modal-card.is-risk .result-symbol {
    background: #fff3e7;
}

.result-modal-card.is-risk .result-symbol svg {
    stroke: var(--warning);
}

.result-modal-card h2 {
    margin: 0;
    color: var(--success);
    font-size: clamp(1.75rem, 4vw, 2.3rem);
    line-height: 1.2;
}

.result-modal-card.is-risk h2 {
    color: var(--warning);
}

.identity-line {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-weight: 600;
}

.probability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 25px;
}

.probability-grid > div {
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--ipb-blue-pale);
}

.probability-grid span {
    display: block;
    min-height: 42px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
}

.probability-grid strong {
    display: block;
    margin-top: 6px;
    color: var(--ipb-blue);
    font-size: 1.5rem;
}

.result-modal-card.is-risk .probability-grid > div:first-child strong {
    color: var(--warning);
}

.recommendation-box {
    margin-top: 17px;
    padding: 17px 19px;
    border-left: 3px solid var(--ipb-blue);
    border-radius: 0 10px 10px 0;
    background: var(--ipb-blue-pale);
    text-align: left;
}

.recommendation-box strong {
    color: var(--ipb-blue-dark);
}

.recommendation-box p {
    margin: 4px 0 0;
    color: var(--text-body);
    font-size: 0.9rem;
}

.modal-disclaimer {
    margin: 16px 0 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.modal-action {
    width: 100%;
    margin-top: 22px;
}

.result-body {
    background: #f5f8fd;
}

.result-page {
    min-height: calc(100vh - 164px);
    padding: 42px 0 76px;
    background:
        radial-gradient(circle at 90% 5%, rgba(23, 101, 213, 0.08) 0 2px, transparent 3px) 0 0 / 30px 30px,
        #f5f8fd;
}

.result-container {
    max-width: 980px;
}

.result-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: var(--ipb-blue);
    font-weight: 700;
}

.result-back-link svg,
.result-actions .primary-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.result-status-card,
.result-detail-card,
.result-info-card,
.result-details-disclosure {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.result-status-card {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 5vw, 54px);
    text-align: center;
}

.result-status-card::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -160px;
    width: 360px;
    height: 360px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.08;
    box-shadow: 0 0 0 45px currentColor, 0 0 0 90px currentColor;
}

.result-status-card.is-normal {
    border-color: #bfe3cf;
    background: linear-gradient(145deg, #fff 0%, #edf9f2 100%);
    color: var(--success);
}

.result-status-card.is-stunting {
    border-color: #f0d3ad;
    background: linear-gradient(145deg, #fff 0%, #fff4e7 100%);
    color: var(--warning);
}

.result-status-icon {
    position: relative;
    z-index: 1;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 14px 30px rgba(23, 128, 61, 0.18);
}

.is-stunting .result-status-icon {
    box-shadow: 0 14px 30px rgba(185, 103, 8, 0.2);
}

.result-status-icon svg {
    width: 47px;
    height: 47px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.result-kicker {
    position: relative;
    z-index: 1;
    margin: 0 0 7px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.result-status-card h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--text-dark);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.result-status-card h1 span {
    color: currentColor;
}

.result-identity {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 17px 0 0;
    color: var(--text-body);
}

.result-summary {
    position: relative;
    z-index: 1;
    max-width: 690px;
    margin: 17px auto 0;
    color: var(--text-body);
    font-size: 1.02rem;
}

.result-detail-card {
    margin-top: 22px;
    padding: clamp(26px, 4vw, 38px);
}

.result-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.result-section-heading h2 {
    margin: 0;
    color: var(--ipb-blue-dark);
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.result-percentage-badge {
    min-width: 92px;
    padding: 9px 15px;
    border-radius: 999px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
}

.result-percentage-badge.is-normal {
    background: #e8f7ef;
    color: var(--success);
}

.result-percentage-badge.is-stunting {
    background: #fff0df;
    color: var(--warning);
}

.risk-meter {
    height: 15px;
    overflow: hidden;
    margin-top: 25px;
    border-radius: 999px;
    background: #e9eef6;
}

.risk-meter span {
    height: 100%;
    display: block;
    min-width: 3px;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--success) 0%, #e0ad26 55%, var(--warning) 100%);
    transform-origin: left;
    animation: meter-grow 650ms ease-out both;
}

@keyframes meter-grow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.risk-meter-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.probability-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 25px;
}

.probability-cards article {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--ipb-blue-pale);
}

.probability-dot {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    border-radius: 50%;
}

.probability-dot-orange { background: var(--warning); }
.probability-dot-green { background: var(--success); }

.probability-cards small,
.probability-cards strong {
    display: block;
}

.probability-cards small {
    color: var(--text-muted);
    font-weight: 600;
}

.probability-cards strong {
    margin-top: 2px;
    color: var(--text-dark);
    font-size: 1.45rem;
}

.result-information-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.result-info-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 25px;
}

.info-card-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--ipb-blue-soft);
    color: var(--ipb-blue);
}

.info-card-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.result-info-card h2 {
    margin: 0;
    color: var(--ipb-blue-dark);
    font-size: 1.15rem;
}

.result-info-card p,
.result-info-card ul {
    margin: 8px 0 0;
    color: var(--text-body);
    font-size: 0.9rem;
}

.result-info-card ul {
    display: grid;
    gap: 7px;
    padding-left: 18px;
}

.recommendation-card.is-normal .info-card-icon {
    background: #e8f7ef;
    color: var(--success);
}

.recommendation-card.is-stunting .info-card-icon {
    background: #fff0df;
    color: var(--warning);
}

.result-details-disclosure {
    margin-top: 18px;
    padding: 18px 22px;
}

.result-details-disclosure summary {
    color: var(--ipb-blue-dark);
    cursor: pointer;
    font-weight: 700;
}

.result-details-disclosure p {
    margin: 11px 0 0;
    color: var(--text-body);
}

.result-actions {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

@media (max-width: 700px) {
    .result-page {
        padding: 28px 0 52px;
    }

    .result-section-heading,
    .result-information-grid,
    .probability-cards {
        grid-template-columns: 1fr;
    }

    .result-section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .result-percentage-badge {
        align-self: flex-start;
    }

    .result-information-grid,
    .probability-cards {
        display: grid;
    }

    .result-actions .primary-button {
        width: 100%;
    }
}

@media (max-width: 1040px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(390px, 0.85fr);
        gap: 40px;
    }

    .hero-visual {
        min-height: 500px;
    }

    .visual-orbit-one {
        width: 490px;
        height: 490px;
    }

    .visual-orbit-two {
        width: 430px;
        height: 430px;
    }

    .screening-layout {
        grid-template-columns: 285px minmax(0, 1fr);
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 54px;
    }

    .hero-copy {
        max-width: 680px;
    }

    .hero-visual {
        width: min(100%, 620px);
        min-height: 560px;
        margin-inline: auto;
    }

    .screening-layout {
        grid-template-columns: 1fr;
    }

    .screening-aside {
        position: static;
        display: grid;
        grid-template-columns: 250px minmax(0, 1fr);
    }

    .aside-image {
        height: 100%;
        min-height: 330px;
    }
}

@media (max-width: 620px) {
    .site-container {
        width: min(100% - 32px, 1180px);
    }

    .header-inner {
        min-height: 76px;
        gap: 16px;
    }

    .brand {
        gap: 10px;
    }

    .brand-logo {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
    }

    .brand strong {
        max-width: 180px;
        font-size: 0.98rem;
    }

    .brand small {
        display: none;
    }

    .header-nav {
        gap: 14px;
        font-size: 0.9rem;
    }

    .screening-body .header-nav a {
        display: none;
    }

    .landing-hero {
        min-height: auto;
    }

    .hero-grid {
        gap: 38px;
        padding-top: 46px;
        padding-bottom: 54px;
    }

    .hero-copy h1 {
        font-size: clamp(2.7rem, 14vw, 4rem);
    }

    .hero-description {
        margin-top: 22px;
        font-size: 0.96rem;
    }

    .hero-button {
        width: 100%;
    }

    .trust-row {
        gap: 11px 16px;
    }

    .hero-visual {
        min-height: 410px;
    }

    .hero-image-frame {
        width: calc(100% - 20px);
        border-width: 7px;
    }

    .visual-orbit-one {
        width: 390px;
        height: 390px;
    }

    .visual-orbit-two {
        width: 350px;
        height: 350px;
    }

    .floating-card {
        padding: 10px 12px;
    }

    .floating-card-ai {
        top: 18px;
        right: 0;
    }

    .floating-card-growth {
        bottom: 15px;
        left: 0;
    }

    .floating-card strong {
        font-size: 0.78rem;
    }

    .floating-card small {
        font-size: 0.64rem;
    }

    .floating-icon,
    .floating-card-growth > svg {
        width: 34px;
        height: 34px;
    }

    .footer-inner {
        min-height: 88px;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        text-align: center;
    }

    .screening-hero {
        padding: 42px 0 100px;
    }

    .screening-layout {
        margin-top: -58px;
        padding-bottom: 48px;
    }

    .screening-aside {
        display: block;
    }

    .aside-image {
        height: 190px;
        min-height: 0;
    }

    .aside-content {
        padding: 24px;
    }

    .form-panel {
        padding: 24px 20px;
    }

    .form-section-heading h2 {
        font-size: 1.16rem;
    }

    .form-section-heading p {
        font-size: 0.82rem;
    }

    .modal-card {
        padding: 32px 22px 25px;
    }

    .probability-grid {
        grid-template-columns: 1fr;
    }

    .probability-grid span {
        min-height: 0;
    }
}

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