:root {
    --blue: #003399;
    --blue-dark: #00297a;
    --ink: #292929;
    --ink-deep: #141414;
    --line: #ebebeb;
    --muted: #3d3d3d;
    --neutral: #f7f7f7;
    --neutral-light: #fafafa;
    --orange: #f99a1a;
    --orange-dark: #ef8a06;
    --orange-light: #faaf4c;
    --paper: #f8f3ea;
    --sky: #33a1fd;
    --sky-dark: #0d91fd;
    --sky-light: #5db5fd;
    --white: #ffffff;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background: var(--paper);
}

body:has(.assistant-card.is-expanded) {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
textarea {
    font: inherit;
}

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

button:focus-visible,
a:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--sky-dark);
    outline-offset: 3px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 2000;
    padding: 12px 16px;
    transform: translateY(-150%);
    border-radius: 8px;
    color: var(--white);
    background: var(--blue);
    font-weight: 750;
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-shell {
    min-height: 100vh;
    overflow: hidden;
}

.site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 42px;
    width: min(1280px, calc(100% - 48px));
    min-height: 92px;
    margin: 0 auto;
}

.site-header::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--blue) 0 50%, var(--orange) 50% 75%, var(--sky) 75% 100%);
    content: "";
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    text-decoration: none;
}

.brand img {
    width: 76px;
    height: auto;
}

.brand span {
    padding-left: 10px;
    border-left: 1px solid #bbc5d9;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .22em;
}

.site-header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.2vw, 30px);
}

.site-header nav a,
.text-link {
    color: #39415a;
    font-size: 14px;
    font-weight: 680;
    text-decoration: none;
}

.site-header nav a:hover,
.text-link:hover {
    color: var(--blue);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 20px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 8px;
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 8px 20px rgba(0, 51, 153, .14);
    font-weight: 760;
    text-decoration: none;
}

.button:hover {
    background: var(--blue-dark);
}

.button-small {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
}

.button-accent {
    gap: 24px;
    color: var(--ink);
    background: var(--orange);
    box-shadow: 0 12px 28px rgba(8, 24, 62, .22);
}

.button-accent:hover {
    background: var(--orange-light);
}

.hero {
    position: relative;
    color: var(--white);
    background: var(--blue);
}

.hero-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
    width: min(1280px, 100%);
    margin: 0 auto;
}

.hero-copy {
    align-self: center;
    max-width: 680px;
    padding: 76px 64px 80px max(40px, calc((100vw - 1200px) / 2));
}

.hero-art {
    position: relative;
    min-height: 640px;
    margin: 0;
    overflow: hidden;
    background: var(--sky);
}

.hero-art::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 130px;
    height: 130px;
    border-radius: 100% 0 0;
    background: var(--orange);
    content: "";
}

.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
}

.eyebrow {
    margin: 0 0 20px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 820;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 650px;
    margin-bottom: 28px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(54px, 5.4vw, 78px);
    font-weight: 400;
    line-height: 1.01;
    letter-spacing: -.045em;
}

.hero .eyebrow {
    color: #bed4ff;
}

.hero-intro {
    max-width: 620px;
    margin-bottom: 22px;
    color: #dce8ff;
    font-size: 19px;
    line-height: 1.65;
}

.inclusive-note {
    display: inline-block;
    padding: 11px 14px;
    border-left: 3px solid var(--orange);
    color: var(--white);
    background: rgba(255, 255, 255, .09);
    font-size: 15px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.hero-secondary {
    min-height: 44px;
    padding: 12px 0 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .6);
    color: var(--white);
    font-size: 14px;
    font-weight: 760;
    text-decoration: none;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-top: 30px;
    color: #e2ebff;
    font-size: 14px;
    font-weight: 680;
}

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

.trust-row b {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: var(--blue);
    background: var(--white);
    font-size: 12px;
}

.assistant-card {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    width: min(410px, calc(100vw - 48px));
    height: min(640px, calc(100dvh - 48px));
    min-height: 0;
    overflow: hidden;
    border: 0;
    border-top: 7px solid var(--orange);
    border-radius: 20px;
    color: var(--ink);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 28px 70px rgba(4, 22, 64, .28);
    transition: border-radius 200ms ease, box-shadow 200ms ease, opacity 180ms ease;
}

.assistant-card.is-expanded {
    position: fixed;
    inset: 0;
    z-index: 1000;
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    border-top: 0;
    background: var(--neutral);
    box-shadow: none;
}

.assistant-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    min-height: 76px;
    padding: 14px 18px;
    border-bottom: 1px solid #dbe4f1;
    background: rgba(255, 255, 255, .96);
}

.is-expanded .assistant-topbar {
    padding-right: max(22px, env(safe-area-inset-right));
    padding-left: max(22px, env(safe-area-inset-left));
    color: var(--white);
    background: var(--blue);
}

.is-expanded .assistant-identity > div > span {
    color: #c7d9ff;
}

.is-expanded .assistant-mark {
    color: var(--blue);
    background: var(--white);
}

.is-expanded .assistant-window-actions button {
    border-color: rgba(255, 255, 255, .32);
    color: var(--white);
    background: rgba(255, 255, 255, .12);
}

.is-expanded .assistant-window-actions button:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255, 255, 255, .2);
}

.assistant-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.assistant-mark,
.message-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
    font-family: Georgia, serif;
    font-style: italic;
}

.assistant-mark {
    width: 40px;
    height: 40px;
    font-size: 19px;
}

.assistant-identity > div > strong,
.assistant-identity > div > span {
    display: block;
}

.assistant-identity > div > strong {
    margin-bottom: 3px;
    font-size: 15px;
}

.assistant-identity > div > span {
    color: #6a7387;
    font-size: 13px;
}

.assistant-identity i {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background: var(--sky-dark);
}

.assistant-window-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.assistant-window-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: #34405a;
    background: var(--white);
    cursor: pointer;
    font-size: 13px;
    font-weight: 730;
}

.assistant-window-actions button:hover {
    border-color: #aebbd0;
    color: var(--blue);
}

.assistant-window-actions button > span:first-child {
    font-size: 17px;
    line-height: 1;
}

.assistant-card:not(.is-expanded) .assistant-window-actions button {
    width: 38px;
    min-height: 38px;
    padding: 0;
}

.assistant-card:not(.is-expanded) .assistant-window-actions button > span:last-child {
    display: none;
}

.assistant-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
}

.is-expanded .assistant-body {
    width: min(820px, 100%);
    margin: 0 auto;
}

.conversation {
    flex: 1;
    min-height: 220px;
    max-height: 300px;
    padding: 24px 20px 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.is-expanded .conversation {
    min-height: 0;
    max-height: none;
    padding: 42px 24px 22px;
}

.assistant-message,
.visitor-message {
    display: flex;
    gap: 11px;
    margin-bottom: 18px;
}

.visitor-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 30px;
    height: 30px;
    margin-top: 3px;
    font-size: 13px;
}

.message-bubble {
    max-width: min(84%, 650px);
    padding: 14px 16px;
    border-radius: 5px 14px 14px;
    color: #303a52;
    background: rgba(51, 161, 253, .12);
    font-size: 15px;
    line-height: 1.6;
}

.message-bubble p {
    margin-bottom: 9px;
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

.message-bubble[tabindex="-1"]:focus {
    outline: 0;
}

.visitor-message .message-bubble {
    border-radius: 14px 5px 14px 14px;
    color: var(--white);
    background: var(--blue);
}

.thinking {
    color: #697286;
}

.source-list {
    padding: 14px;
    margin: 16px 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}

.source-list > span {
    display: block;
    margin-bottom: 10px;
    color: #5d667a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.source-item + .source-item {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #e7ebf1;
}

.source-item strong,
.source-item small {
    display: block;
}

.source-item strong {
    color: var(--blue);
    font-size: 14px;
}

.source-item small {
    margin-top: 3px;
    color: #667086;
    font-size: 13px;
    line-height: 1.5;
}

.boundary-note {
    padding: 3px 0 3px 12px;
    border-left: 3px solid var(--orange);
    color: #5c6578;
    font-size: 14px;
}

.save-block {
    padding-top: 13px;
    margin-top: 16px;
    border-top: 1px solid var(--line);
}

.save-block p {
    color: #596379;
    font-size: 14px;
}

.save-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.assistant-error {
    padding: 12px 14px;
    border: 1px solid #efc2c2;
    border-radius: 9px;
    color: #8c2424;
    background: #fff0f0;
    font-size: 14px;
}

.assistant-composer {
    flex: 0 0 auto;
    padding: 8px 18px 16px;
    background: var(--white);
}

.is-expanded .assistant-composer {
    padding: 14px 24px max(18px, env(safe-area-inset-bottom));
    border-top: 1px solid #e5e9f0;
    background: var(--neutral);
}

.suggested-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.suggested-prompts button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #4b5871;
    background: var(--white);
    cursor: pointer;
    font-size: 12px;
}

.suggested-prompts button:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.privacy-note {
    margin: 0 2px 9px;
    color: #616a7e;
    font-size: 12px;
    line-height: 1.45;
}

.assistant-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px 9px 14px;
    border: 1px solid #bcc9db;
    border-radius: 12px;
    background: var(--white);
}

.assistant-input:focus-within {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 51, 153, .09);
}

.assistant-input textarea {
    flex: 1;
    min-height: 46px;
    max-height: 110px;
    border: 0;
    outline: 0;
    resize: none;
    color: var(--ink);
    background: transparent;
    font-size: 16px;
    line-height: 1.45;
}

.assistant-input button {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    color: var(--blue);
    background: var(--orange);
    cursor: pointer;
    font-size: 20px;
}

.assistant-input button:disabled {
    opacity: .55;
}

.assistant-disclaimer {
    margin: 10px 2px 0;
    color: #6d7587;
    font-size: 12px;
    line-height: 1.45;
    text-align: center;
}

.assistant-launcher-shell {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 900;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 14px;
}

.assistant-teaser {
    position: relative;
    width: min(290px, calc(100vw - 48px));
    padding: 17px 42px 17px 18px;
    border: 1px solid #dbe3ef;
    border-radius: 16px 16px 4px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 18px 46px rgba(4, 22, 64, .2);
}

.assistant-teaser::after {
    position: absolute;
    right: 22px;
    bottom: -8px;
    width: 16px;
    height: 16px;
    transform: rotate(45deg);
    background: var(--white);
    content: "";
}

.assistant-teaser strong,
.assistant-teaser span {
    display: block;
}

.assistant-teaser strong {
    margin-bottom: 5px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 400;
}

.assistant-teaser span {
    color: #687287;
    font-size: 12px;
    line-height: 1.5;
}

.assistant-teaser button {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #6a7387;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
}

.assistant-launcher-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 4px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
    cursor: pointer;
    box-shadow: 0 16px 38px rgba(4, 22, 64, .32);
}

.assistant-launcher-button > span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    font-style: italic;
}

.assistant-launcher-button > i {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 13px;
    height: 13px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--orange);
}

.confidence-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 100px;
    padding: 24px;
    color: #42506a;
    background: var(--white);
    font-size: 14px;
}

.confidence-strip strong {
    color: var(--ink);
}

.confidence-strip i {
    width: 1px;
    height: 26px;
    background: var(--orange);
}

.questions-section,
.how-section,
.support-section,
.about-section {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.questions-section,
.how-section {
    padding: 112px 0;
}

.questions-section {
    padding-top: 132px;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 76px;
}

.section-heading > div .eyebrow {
    margin-bottom: 18px;
}

.section-heading h2,
.library-card h2,
.support-panel h2,
.about-section h2 {
    margin-bottom: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.section-heading > p,
.section-heading > div + p {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.section-heading-centred {
    display: block;
    max-width: 720px;
}

.section-heading-centred h2 {
    margin-bottom: 22px;
}

.question-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 56px;
}

.question-grid article {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 28px;
    border: 0;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 12px 32px rgba(18, 37, 77, .08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.question-grid article:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(18, 37, 77, .15);
}

.question-grid article:nth-child(2) {
    color: var(--white);
    background: var(--blue);
}

.question-grid article:nth-child(3) {
    color: var(--ink);
    background: var(--orange-light);
}

.question-grid article:nth-child(4) {
    color: var(--ink);
    background: var(--sky-light);
}

.question-grid article:nth-child(2) .card-number,
.question-grid article:nth-child(2) p,
.question-grid article:nth-child(2) a {
    color: var(--white);
}

.question-grid article:nth-child(3) .card-number,
.question-grid article:nth-child(3) p,
.question-grid article:nth-child(3) a,
.question-grid article:nth-child(4) .card-number,
.question-grid article:nth-child(4) p,
.question-grid article:nth-child(4) a {
    color: var(--ink);
}

.card-number {
    margin-bottom: 44px;
    color: var(--blue);
    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: 700;
}

.question-grid h3,
.steps-grid h3 {
    margin-bottom: 14px;
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.22;
}

.question-grid p,
.steps-grid p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.question-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin-top: auto;
    color: var(--blue);
    font-size: 14px;
    font-weight: 780;
    text-decoration: none;
}

.how-section {
    width: 100%;
    padding-right: max(24px, calc((100vw - 1120px) / 2));
    padding-left: max(24px, calc((100vw - 1120px) / 2));
    border-top: 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 64px;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: var(--line);
}

.steps-grid article {
    min-height: 270px;
    padding: 32px;
    background: var(--neutral);
}

.steps-grid article > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 46px;
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
    font-family: Georgia, serif;
    font-size: 13px;
}

.library-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 590px;
    color: var(--white);
    background: var(--ink-deep);
}

.library-card {
    max-width: 680px;
    padding: 94px 8vw 94px max(48px, calc((100vw - 1120px) / 2));
}

.library-card .eyebrow {
    color: #bfd2f9;
}

.library-card p:not(.eyebrow) {
    margin: 28px 0;
    color: #dce7fb;
    font-size: 16px;
    line-height: 1.75;
}

.library-card a {
    display: inline-flex;
    gap: 34px;
    min-height: 44px;
    padding: 11px 0 7px;
    border-bottom: 1px solid rgba(255, 255, 255, .55);
    font-weight: 760;
    text-decoration: none;
}

.library-visual {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--sky);
}

.library-visual::before,
.library-visual::after {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    content: "";
}

.library-visual::before {
    width: 520px;
    height: 520px;
}

.library-visual::after {
    width: 380px;
    height: 380px;
}

.document {
    position: absolute;
    width: 290px;
    height: 360px;
    border-radius: 6px;
}

.document-back {
    transform: rotate(7deg) translate(24px, -4px);
    background: var(--orange);
}

.document-front {
    z-index: 1;
    padding: 36px 30px;
    transform: rotate(-3deg);
    color: var(--ink);
    background: #fffdfa;
    box-shadow: 0 28px 54px rgba(0, 0, 0, .28);
}

.document-front span,
.document-front small {
    display: block;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.document-front h3 {
    margin: 42px 0 30px;
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.15;
}

.document-front i {
    display: block;
    width: 100%;
    height: 5px;
    margin: 11px 0;
    background: #e4e8ef;
}

.document-front i:nth-of-type(2) {
    width: 86%;
}

.document-front i:nth-of-type(4) {
    width: 70%;
}

.document-front small {
    position: absolute;
    bottom: 28px;
    color: #5b6980;
    letter-spacing: .03em;
}

.support-section {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 70px;
    align-items: end;
    width: 100%;
    padding: 110px max(24px, calc((100vw - 1120px) / 2));
    background: var(--orange-light);
}

.support-panel > p:last-child {
    max-width: 720px;
    margin: 28px 0 0;
    color: #39445a;
    font-size: 17px;
    line-height: 1.75;
}

.consent-panel {
    padding: 30px;
    border-radius: 12px;
    color: var(--white);
    background: var(--blue);
    box-shadow: 14px 14px 0 var(--sky);
}

.consent-panel > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 40px;
    border-radius: 50%;
    color: var(--blue);
    background: var(--white);
}

.consent-panel p {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 22px;
    line-height: 1.45;
}

.about-section {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 90px;
    padding: 104px 0;
    border-top: 0;
}

.about-section > p {
    align-self: end;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 44px;
    padding: 64px max(24px, calc((100vw - 1120px) / 2)) 36px;
    color: #dfe7f7;
    background: var(--blue-dark);
}

.brand-inverse img {
    padding: 5px;
    border-radius: 5px;
    background: var(--white);
}

.brand-inverse span {
    color: var(--white);
    border-color: #5f6d8b;
}

.footer-intro p {
    margin: 24px 0 0;
    color: #c3ccdf;
    font-family: Georgia, serif;
    font-size: 20px;
    line-height: 1.5;
}

.footer-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-group strong {
    margin-bottom: 5px;
    color: var(--white);
    font-size: 13px;
}

.footer-group a,
.footer-group span {
    color: #aeb9d0;
    font-size: 13px;
    text-decoration: none;
}

.footer-group a:hover {
    color: var(--white);
}

.footer-boundary {
    grid-column: 1 / -1;
    padding-top: 28px;
    margin: 10px 0 0;
    border-top: 1px solid #33405f;
    color: #9eabc3;
    font-size: 13px;
    line-height: 1.6;
}

.simple-page {
    width: min(700px, calc(100% - 48px));
    min-height: 70vh;
    margin: 0 auto;
    padding: 120px 0;
}

.simple-page h1 {
    font-family: Georgia, serif;
    font-size: 52px;
    font-weight: 400;
}

@media (max-width: 1080px) {
    .site-header {
        grid-template-columns: auto 1fr;
    }

    .site-header nav {
        display: none;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .question-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer {
        grid-template-columns: 1.5fr repeat(2, 1fr);
    }
}

@media (max-width: 920px) {
    .hero-stage {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: none;
        padding: 70px max(32px, calc((100vw - 740px) / 2)) 64px;
    }

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

    .section-heading,
    .support-section,
    .about-section {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 720px) {
    body:has(.assistant-card) {
        overflow: hidden;
    }

    .site-header,
    .questions-section,
    .about-section {
        width: calc(100% - 32px);
    }

    .site-header {
        min-height: 74px;
        gap: 10px;
    }

    .brand img {
        width: 60px;
    }

    .brand span {
        padding-left: 7px;
        font-size: 11px;
    }

    .header-actions {
        gap: 0;
    }

    .header-actions .button {
        display: none;
    }

    .text-link {
        min-height: 44px;
        padding: 12px 0 8px 12px;
        font-size: 13px;
    }

    .hero-copy {
        padding: 52px 20px 48px;
    }

    .hero h1 {
        font-size: clamp(44px, 13vw, 58px);
    }

    .hero-intro {
        font-size: 17px;
    }

    .hero-art {
        min-height: 360px;
    }

    .hero-art img {
        object-position: 62% center;
    }

    .hero-art::after {
        width: 72px;
        height: 72px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button,
    .hero-secondary {
        width: 100%;
    }

    .trust-row {
        display: grid;
    }

    .assistant-card {
        inset: 0;
        width: 100vw;
        height: 100dvh;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .assistant-card.is-expanded {
        min-height: 100dvh;
        border-radius: 0;
    }

    .assistant-topbar {
        min-height: 70px;
        padding: 11px 12px;
    }

    .assistant-identity {
        gap: 8px;
    }

    .assistant-mark {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .assistant-identity > div > span {
        font-size: 11px;
    }

    .assistant-window-actions button {
        min-width: 62px;
        padding: 7px 8px;
        font-size: 11px;
    }

    .assistant-expand-action {
        display: none !important;
    }

    .is-expanded .conversation {
        padding: 26px 14px 16px;
    }

    .message-bubble {
        max-width: 88%;
        padding: 12px 14px;
        font-size: 14px;
    }

    .assistant-composer,
    .is-expanded .assistant-composer {
        padding-right: max(12px, env(safe-area-inset-right));
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        padding-left: max(12px, env(safe-area-inset-left));
    }

    .suggested-prompts {
        flex-wrap: nowrap;
    }

    .assistant-launcher-shell {
        right: 16px;
        bottom: 16px;
    }

    .confidence-strip {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        padding-top: 24px;
    }

    .confidence-strip i {
        display: none;
    }

    .questions-section,
    .about-section {
        padding: 78px 0;
    }

    .how-section,
    .support-section {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .question-grid,
    .steps-grid,
    .library-section {
        grid-template-columns: 1fr;
    }

    .question-grid {
        margin-top: 40px;
    }

    .question-grid article {
        min-height: 255px;
    }

    .steps-grid {
        margin-top: 46px;
    }

    .steps-grid article {
        min-height: 230px;
    }

    .library-card {
        padding: 76px 28px;
    }

    .library-visual {
        min-height: 490px;
    }

    .consent-panel > span {
        margin-bottom: 26px;
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
        gap: 38px 24px;
        padding-top: 52px;
    }

    .footer-intro,
    .footer-boundary {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .assistant-card {
        transition: none;
    }
}
