:root {
    color-scheme: light;
    --bg: #eee8de;
    --bg-deep: #e5ddd1;
    --surface: #f4efe7;
    --surface-raised: #faf5ed;
    --surface-soft: #e9e1d6;
    --surface-strong: #dfd6c9;
    --ink: #173d36;
    --ink-strong: #102e29;
    --muted: #65726d;
    --faint: #87918d;
    --coral: #ef9b82;
    --coral-strong: #dd785d;
    --coral-soft: #f6c2b1;
    --lilac: #a99ac7;
    --lilac-strong: #77669d;
    --lilac-soft: #d5cce7;
    --yellow: #e9c974;
    --green-soft: #b6d3c5;
    --danger: #a44242;
    --danger-soft: #f2ceca;
    --success: #2f6d58;
    --success-soft: #cce3d8;
    --line: rgba(23, 61, 54, 0.15);
    --line-strong: rgba(23, 61, 54, 0.28);
    --shadow-raised: 12px 12px 26px rgba(74, 63, 49, 0.17), -10px -10px 24px rgba(255, 255, 255, 0.72);
    --shadow-raised-small: 6px 6px 14px rgba(74, 63, 49, 0.16), -5px -5px 12px rgba(255, 255, 255, 0.7);
    --shadow-inset: inset 3px 3px 8px rgba(74, 63, 49, 0.15), inset -3px -3px 8px rgba(255, 255, 255, 0.66);
    --shadow-coral: 9px 10px 18px rgba(118, 68, 54, 0.23), -5px -5px 14px rgba(255, 226, 216, 0.68);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --container: 1180px;
    --font-display: "Avenir Next", "Segoe UI Variable Display", "Trebuchet MS", sans-serif;
    --font-body: Inter, "Segoe UI Variable Text", "Segoe UI", sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --bg: #121924;
    --bg-deep: #0d131d;
    --surface: #182230;
    --surface-raised: #1d2938;
    --surface-soft: #141d29;
    --surface-strong: #243242;
    --ink: #dce9e3;
    --ink-strong: #f3f8f5;
    --muted: #aab9b3;
    --faint: #82928d;
    --coral: #f2a087;
    --coral-strong: #ffb097;
    --coral-soft: #573b38;
    --lilac: #b9aae0;
    --lilac-strong: #d2c5f0;
    --lilac-soft: #3c3852;
    --yellow: #e7c972;
    --green-soft: #29483f;
    --danger: #ffaaa3;
    --danger-soft: #4b2c31;
    --success: #8bd1b5;
    --success-soft: #234238;
    --line: rgba(220, 233, 227, 0.14);
    --line-strong: rgba(220, 233, 227, 0.26);
    --shadow-raised: 12px 12px 25px rgba(4, 8, 14, 0.55), -8px -8px 20px rgba(51, 67, 84, 0.34);
    --shadow-raised-small: 6px 7px 14px rgba(4, 8, 14, 0.52), -5px -5px 12px rgba(53, 68, 83, 0.28);
    --shadow-inset: inset 3px 3px 8px rgba(3, 7, 12, 0.62), inset -3px -3px 8px rgba(50, 66, 82, 0.32);
    --shadow-coral: 9px 10px 18px rgba(4, 8, 14, 0.48), -4px -4px 12px rgba(91, 70, 69, 0.35);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.62;
    text-rendering: optimizeLegibility;
    transition: background-color 180ms ease, color 180ms ease;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .24;
    background-image: url("../images/noise.svg");
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--ink);
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

button {
    color: inherit;
}

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

h1,
h2,
h3 {
    color: var(--ink-strong);
    font-family: var(--font-display);
    letter-spacing: -.035em;
    line-height: 1.08;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(2.75rem, 6.3vw, 5.25rem);
    font-weight: 750;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3.45rem);
    font-weight: 720;
}

h3 {
    margin-bottom: 10px;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
}

p {
    margin-bottom: 18px;
}

::selection {
    background: var(--lilac);
    color: var(--ink-strong);
}

:focus-visible {
    outline: 3px solid var(--lilac-strong);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.reading-width {
    max-width: 900px;
}

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

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--ink-strong);
    color: var(--bg);
    transform: translateY(-160%);
}

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

.icon {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.text-coral {
    color: var(--coral-strong);
}

.button,
.text-link,
.account-chip,
.clay-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    transition: transform 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms ease, color 160ms ease;
}

.button {
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
}

.button:hover,
.account-chip:hover,
.clay-control:hover {
    transform: translateY(-2px);
}

.button:active,
.account-chip:active,
.clay-control:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-inset);
}

.button-primary {
    background: var(--coral);
    color: #183a34;
    box-shadow: var(--shadow-coral);
}

.button-primary:hover {
    background: var(--coral-strong);
    color: #102e29;
}

html[data-theme="dark"] .button-primary:hover {
    color: #102e29;
}

.button-secondary {
    background: var(--surface-raised);
    color: var(--ink-strong);
    box-shadow: var(--shadow-raised-small);
}

.button-ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line-strong);
}

.button-small {
    min-height: 42px;
    padding: 9px 15px;
    font-size: .92rem;
}

.button-tiny {
    min-height: 34px;
    padding: 6px 11px;
    font-size: .82rem;
}

.button-large {
    min-height: 56px;
    padding: 15px 24px;
}

.button-block {
    width: 100%;
}

.button[disabled] {
    cursor: wait;
    opacity: .68;
    transform: none;
}

.text-link {
    justify-content: flex-start;
    padding-block: 5px;
    color: var(--ink-strong);
    text-decoration: underline;
    text-decoration-color: var(--coral-strong);
    text-decoration-thickness: 2px;
}

.text-link:hover {
    color: var(--coral-strong);
}

.utility-bar {
    border-bottom: 1px solid var(--line);
    background: var(--surface-soft);
    font-size: .82rem;
}

.utility-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.utility-inner a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    text-decoration: none;
}

.site-header {
    position: relative;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(45, 39, 30, .07);
}

html[data-theme="dark"] .site-header {
    box-shadow: 0 8px 22px rgba(2, 5, 9, .28);
}

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

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink-strong);
    text-decoration: none;
}

.brand-mark {
    width: 46px;
    height: 46px;
    filter: saturate(.96);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -.045em;
}

.brand-name span {
    color: var(--coral-strong);
}

.site-navigation,
.nav-main,
.nav-actions {
    display: flex;
    align-items: center;
}

.site-navigation {
    flex: 1;
    justify-content: space-between;
    gap: 20px;
}

.nav-main {
    gap: 3px;
}

.nav-actions {
    gap: 10px;
}

.nav-link {
    position: relative;
    padding: 10px 12px;
    color: var(--muted);
    font-size: .94rem;
    font-weight: 650;
    text-decoration: none;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 4px;
    left: 12px;
    height: 3px;
    border-radius: 3px;
    background: var(--coral);
    transform: scaleX(0);
    transition: transform 160ms var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink-strong);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.clay-control {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 13px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
}

.nav-toggle {
    display: none;
}

.theme-icon-moon,
html[data-theme="dark"] .theme-icon-sun {
    display: none;
}

html[data-theme="dark"] .theme-icon-moon {
    display: block;
}

.account-chip {
    min-height: 42px;
    padding: 5px 12px 5px 6px;
    border-radius: 14px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
    font-size: .9rem;
}

.avatar-mini {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 11px;
    background: var(--lilac);
    color: #162f2b;
    font-size: .72rem;
}

.logout-form {
    margin: 0;
}

.flash-wrap {
    position: relative;
    z-index: 40;
}

.flash {
    margin-top: 16px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
}

.flash p {
    margin: 0;
}

.flash-symbol {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: var(--lilac-soft);
}

.flash-success .flash-symbol {
    background: var(--success-soft);
    color: var(--success);
}

.flash-error .flash-symbol {
    background: var(--danger-soft);
    color: var(--danger);
}

.flash-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 1.4rem;
}

.hero {
    overflow: hidden;
    padding: 72px 0 64px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
    align-items: center;
    gap: 56px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-lead {
    max-width: 650px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.hero-assurances {
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    list-style: none;
    color: var(--muted);
    font-size: .88rem;
}

.hero-assurances li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-assurances .icon {
    color: var(--success);
}

.hero-art {
    position: relative;
    min-height: 490px;
}

.hero-image-plinth {
    position: absolute;
    inset: 32px 8px 38px 24px;
    z-index: 2;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 38% 28% 34% 24% / 29% 38% 27% 36%;
    background: var(--surface-soft);
    box-shadow: var(--shadow-inset);
}

.hero-image-plinth::after {
    content: "";
    position: absolute;
    right: 14%;
    bottom: 8%;
    left: 14%;
    height: 22px;
    border-radius: 50%;
    background: rgba(23, 61, 54, .14);
    filter: blur(8px);
}

.hero-image-plinth img {
    position: relative;
    z-index: 1;
    width: 110%;
    height: 110%;
    object-fit: contain;
}

html[data-theme="dark"] .hero-image-plinth img {
    filter: brightness(.9) saturate(.92);
}

.orbit {
    position: absolute;
    display: block;
    border-radius: 50%;
    box-shadow: var(--shadow-raised-small);
}

.orbit-coral {
    top: 2px;
    right: 6%;
    width: 126px;
    height: 126px;
    background: var(--coral-soft);
}

.orbit-lilac {
    bottom: 10px;
    left: 0;
    width: 96px;
    height: 96px;
    background: var(--lilac-soft);
}

.hero-note {
    position: absolute;
    z-index: 3;
    min-width: 178px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 16px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.25;
}

.hero-note .icon {
    color: var(--coral-strong);
}

.hero-note strong {
    display: block;
    color: var(--ink-strong);
}

.hero-note-home {
    top: 110px;
    left: -8px;
}

.hero-note-future {
    right: -12px;
    bottom: 52px;
}

.trust-ribbon {
    border-block: 1px solid var(--line);
    background: var(--surface-soft);
}

.trust-ribbon-grid {
    min-height: 92px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
}

.trust-ribbon p {
    margin: 0;
    padding: 16px 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    color: var(--muted);
}

.trust-ribbon p + p {
    border-left: 1px solid var(--line);
}

.trust-ribbon .icon {
    width: 25px;
    height: 25px;
    color: var(--coral-strong);
}

.trust-ribbon strong {
    color: var(--ink-strong);
}

.section {
    padding: 80px 0;
}

.section-compact {
    padding-block: 56px;
}

.section-tint {
    background: var(--surface-soft);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading > p,
.section-copy > p {
    color: var(--muted);
    font-size: 1.07rem;
}

.section-heading-wide {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.section-heading-wide > div {
    max-width: 720px;
}

.coverage-quilt {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 18px;
    list-style: none;
}

.quilt-piece {
    position: relative;
    min-height: 250px;
    padding: 34px;
    overflow: hidden;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised);
}

.quilt-family {
    border-radius: 34px 14px 14px 20px;
    background: var(--coral-soft);
}

.quilt-income {
    border-radius: 14px 34px 20px 14px;
}

.quilt-home {
    border-radius: 20px 14px 14px 34px;
}

.quilt-future {
    border-radius: 14px 20px 34px 14px;
    background: var(--lilac-soft);
}

.quilt-piece p {
    max-width: 430px;
    margin: 0;
    color: var(--muted);
}

.quilt-number {
    position: absolute;
    top: 24px;
    right: 28px;
    color: var(--faint);
    font-family: var(--font-display);
    font-weight: 800;
}

.quilt-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 32px;
    color: var(--ink);
}

.coverage-intro-grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    align-items: center;
    gap: 56px;
}

.section-copy .button {
    margin-top: 12px;
}

.coverage-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.coverage-panel {
    min-height: 400px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow-raised);
}

.coverage-panel-permanent {
    margin-top: 38px;
}

.coverage-symbol {
    width: 58px;
    height: 58px;
    margin-bottom: 58px;
    display: grid;
    place-items: center;
    border-radius: 19px;
    background: var(--coral-soft);
    box-shadow: var(--shadow-raised-small);
}

.coverage-panel-permanent .coverage-symbol {
    background: var(--lilac-soft);
}

.coverage-panel p {
    color: var(--muted);
}

.tick-list {
    margin: 22px 0 0;
    padding: 0;
    display: grid;
    gap: 9px;
    list-style: none;
}

.tick-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.tick-list .icon {
    margin-top: 5px;
    color: var(--success);
}

.moment-lines {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 50px;
    border-top: 1px solid var(--line);
}

.moment-lines article {
    padding: 28px 4px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    border-bottom: 1px solid var(--line);
}

.moment-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 17px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
    color: var(--coral-strong);
}

.moment-lines p {
    margin: 0;
    color: var(--muted);
}

.process-section {
    padding-top: 24px;
}

.process-shell {
    padding: 52px;
    border-radius: var(--radius-xl);
    background: var(--ink-strong);
    box-shadow: 16px 18px 32px rgba(40, 39, 31, .2), -6px -7px 18px rgba(255, 255, 255, .38);
    color: #cfddd7;
}

html[data-theme="dark"] .process-shell {
    background: #0b302b;
    box-shadow: 16px 18px 32px rgba(2, 6, 9, .5), -6px -7px 18px rgba(41, 69, 64, .22);
}

.process-shell h2,
.process-shell h3 {
    color: #f0f7f3;
}

.process-shell .section-heading p,
.process-track p,
.process-action p {
    color: #b5c8c0;
}

.process-track {
    position: relative;
    margin: 0;
    padding: 14px 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    list-style: none;
}

.process-track::before {
    content: "";
    position: absolute;
    top: 35px;
    right: 9%;
    left: 9%;
    height: 2px;
    background: rgba(239, 155, 130, .35);
}

.process-track li {
    position: relative;
    z-index: 1;
}

.process-track li > span {
    display: grid;
    width: 43px;
    height: 43px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 14px;
    background: var(--coral);
    box-shadow: 5px 6px 12px rgba(0, 0, 0, .24), -3px -3px 9px rgba(255, 196, 177, .22);
    color: #173d36;
    font-weight: 800;
}

.process-track p {
    margin: 0;
    font-size: .92rem;
}

.process-action {
    margin-top: 42px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.process-action p {
    margin: 0;
    font-size: .86rem;
}

.page-hero {
    padding: 66px 0 58px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--surface-soft);
}

.page-hero-short {
    padding-block: 56px;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 60px;
}

.page-hero-grid > div:first-child {
    max-width: 700px;
}

.page-hero p,
.narrow-hero p {
    max-width: 730px;
    color: var(--muted);
    font-size: 1.12rem;
}

.narrow-hero {
    max-width: 940px;
}

.narrow-hero h1 {
    max-width: 860px;
}

.page-hero-object {
    position: relative;
    min-height: 320px;
}

.protect-arch {
    position: absolute;
    right: 12%;
    bottom: 4px;
    width: 270px;
    height: 280px;
    border: 58px solid var(--coral);
    border-bottom: 0;
    border-radius: 140px 140px 28px 28px;
    box-shadow: var(--shadow-raised);
}

.protect-sun {
    position: absolute;
    top: 36px;
    right: 34%;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--lilac);
    box-shadow: var(--shadow-raised-small);
}

.protect-path {
    position: absolute;
    right: 22%;
    bottom: -20px;
    width: 105px;
    height: 190px;
    border-radius: 55px 55px 10px 10px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-inset);
    transform: perspective(180px) rotateX(20deg);
}

.definition-callout {
    padding: 34px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 26px;
    border-radius: 26px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised);
}

.callout-icon {
    width: 46px;
    height: 46px;
    padding: 10px;
    border-radius: 15px;
    background: var(--coral-soft);
    color: var(--coral-strong);
    box-shadow: var(--shadow-raised-small);
}

.definition-callout p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.comparison-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-raised);
}

.comparison-table,
.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th,
.comparison-table td {
    padding: 19px 22px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.comparison-table thead th {
    background: var(--surface-soft);
    color: var(--ink-strong);
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.comparison-table tbody th {
    width: 24%;
    color: var(--ink-strong);
}

.comparison-table tbody td {
    color: var(--muted);
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
    border-bottom: 0;
}

.factor-layout,
.faq-layout {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 64px;
}

.factor-list {
    border-top: 1px solid var(--line);
}

.factor-list article {
    padding: 23px 0;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    border-bottom: 1px solid var(--line);
}

.factor-list article > span,
.resource-number {
    color: var(--coral-strong);
    font-family: var(--font-display);
    font-weight: 800;
}

.factor-list p {
    margin: 0;
    color: var(--muted);
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border-radius: 16px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
}

.faq-list summary {
    padding: 19px 22px;
    cursor: pointer;
    color: var(--ink-strong);
    font-family: var(--font-display);
    font-weight: 700;
}

.faq-list details p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--muted);
}

.source-note {
    padding: 22px 28px;
    border-left: 4px solid var(--lilac);
    background: var(--surface-soft);
}

.source-note p {
    margin: 0;
}

.action-clay {
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    border-radius: 30px;
    background: var(--lilac-soft);
    box-shadow: var(--shadow-raised);
}

.action-clay > div {
    max-width: 690px;
}

.action-clay p {
    margin: 0;
    color: var(--muted);
}

.page-hero-about {
    position: relative;
}

.page-hero-about::after {
    content: "";
    position: absolute;
    top: -70px;
    right: 8%;
    width: 230px;
    height: 230px;
    border: 42px solid var(--coral-soft);
    border-radius: 50%;
    opacity: .8;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    align-items: center;
    gap: 70px;
}

.manifesto-mark {
    position: relative;
    min-height: 390px;
}

.manifesto-arch {
    position: absolute;
    inset: 30px 12% 0;
    border: 68px solid var(--coral);
    border-bottom: 0;
    border-radius: 170px 170px 25px 25px;
    box-shadow: var(--shadow-raised);
}

.manifesto-dot {
    position: absolute;
    top: 116px;
    left: 39%;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--lilac);
    box-shadow: var(--shadow-raised-small);
}

.manifesto-copy p {
    color: var(--muted);
    font-size: 1.08rem;
}

.principle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
    border-top: 1px solid var(--line);
}

.principle-grid article {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.principle-grid article > span {
    color: var(--coral-strong);
    font-weight: 800;
}

.principle-grid p {
    margin: 0;
    color: var(--muted);
}

.boundary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.boundary-panel {
    padding: 34px;
    border-radius: 26px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised);
}

.boundary-do {
    border-top: 6px solid var(--success);
}

.boundary-not {
    border-top: 6px solid var(--lilac);
}

.boundary-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 28px;
}

.boundary-panel ul {
    margin: 22px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.boundary-panel li + li {
    margin-top: 10px;
}

.licence-panel {
    padding: 30px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.licence-panel p {
    max-width: 800px;
    margin: 0;
    color: var(--muted);
}

.resource-index {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: start;
    gap: 64px;
}

.resource-nav {
    position: sticky;
    top: 24px;
    padding: 22px;
    display: grid;
    gap: 10px;
    border-radius: 20px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
}

.resource-nav h2 {
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.resource-nav a {
    color: var(--muted);
    font-size: .92rem;
}

.resource-articles {
    max-width: 760px;
}

.resource-articles > article {
    padding: 0 0 48px;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 24px;
}

.resource-articles article p {
    color: var(--muted);
    font-size: 1.04rem;
}

.prep-list {
    padding: 22px 26px;
    border-radius: 18px;
    background: var(--surface-soft);
    box-shadow: var(--shadow-inset);
}

.prep-list p {
    margin: 0;
}

.prep-list p + p {
    margin-top: 12px;
}

.resource-source {
    padding: 30px;
    border-radius: 26px;
    background: var(--lilac-soft);
    box-shadow: var(--shadow-raised);
}

.resource-source h2 {
    font-size: 1.65rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    align-items: start;
    gap: 48px;
}

.contact-aside {
    padding: 20px 10px;
}

.clay-contact-mark,
.auth-emblem {
    width: 70px;
    height: 70px;
    margin-bottom: 34px;
    display: grid;
    place-items: center;
    border-radius: 23px;
    background: var(--coral-soft);
    box-shadow: var(--shadow-raised);
}

.clay-contact-mark .icon,
.auth-emblem .icon {
    width: 31px;
    height: 31px;
}

.contact-aside ol {
    margin: 28px 0;
    padding: 0;
    display: grid;
    gap: 16px;
    list-style: none;
}

.contact-aside li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-aside li span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 11px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
    font-weight: 800;
}

.contact-email-label {
    margin: 34px 0 2px;
    color: var(--muted);
    font-size: .84rem;
}

.form-panel {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
    box-shadow: var(--shadow-raised);
}

.form-panel form {
    display: grid;
    gap: 22px;
}

.form-grid {
    display: grid;
    gap: 20px;
}

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

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

.field {
    display: grid;
    align-content: start;
    gap: 7px;
}

.field label,
.field-label {
    color: var(--ink-strong);
    font-size: .9rem;
    font-weight: 700;
}

.field label span {
    color: var(--muted);
    font-weight: 500;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: 12px;
    outline: 0;
    background: var(--surface-soft);
    box-shadow: var(--shadow-inset);
    color: var(--ink-strong);
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: var(--line-strong);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--lilac-strong);
    box-shadow: var(--shadow-inset), 0 0 0 3px rgba(119, 102, 157, .18);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-color: var(--danger);
}

.field input:disabled {
    color: var(--muted);
    opacity: .8;
}

.field-help {
    margin: 0;
    color: var(--muted);
    font-size: .8rem;
}

.field-error {
    color: var(--danger);
    font-size: .82rem;
    font-weight: 650;
}

.check-field {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 12px;
    color: var(--muted);
    font-size: .88rem;
    cursor: pointer;
}

.check-field input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--coral-strong);
}

.form-banner,
.inline-notice,
.sensitive-warning {
    padding: 14px 16px;
    border-radius: 14px;
}

.form-banner {
    margin-bottom: 20px;
    background: var(--danger-soft);
    color: var(--danger);
}

.inline-notice,
.sensitive-warning {
    margin-bottom: 22px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--lilac-soft);
}

.inline-notice p,
.sensitive-warning p {
    margin: 0;
}

.sensitive-warning {
    background: var(--surface-soft);
    color: var(--muted);
}

.sensitive-warning strong {
    color: var(--ink-strong);
}

.result-page {
    padding: 80px 0;
}

.result-shell {
    max-width: 720px;
    padding: 50px;
    text-align: center;
    border-radius: 32px;
    background: var(--surface);
    box-shadow: var(--shadow-raised);
}

.result-shell-wide {
    max-width: 920px;
    text-align: left;
}

.result-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: var(--success-soft);
    box-shadow: var(--shadow-raised-small);
    color: var(--success);
}

.result-icon .icon {
    width: 35px;
    height: 35px;
}

.result-icon-coral {
    background: var(--coral-soft);
    color: var(--coral-strong);
}

.result-icon-error {
    background: var(--danger-soft);
    color: var(--danger);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
}

.result-shell > p {
    color: var(--muted);
    font-size: 1.06rem;
}

.reference-chip {
    width: fit-content;
    margin: 24px auto;
    padding: 9px 15px;
    border-radius: 999px;
    background: var(--surface-soft);
    box-shadow: var(--shadow-inset);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .86rem !important;
}

.result-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.next-box {
    margin-top: 30px;
    padding: 26px;
    text-align: left;
    border-radius: 20px;
    background: var(--surface-soft);
    box-shadow: var(--shadow-inset);
}

.next-box h2 {
    font-size: 1.35rem;
}

.next-box ol {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.next-box li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.next-box li span {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 10px;
    background: var(--coral-soft);
    color: var(--ink-strong);
    font-weight: 800;
}

.quote-header {
    padding: 48px 0 38px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-soft);
}

.quote-header-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.quote-header-inner > div:first-child {
    max-width: 760px;
}

.quote-header h1 {
    margin-bottom: 14px;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
}

.quote-header p {
    margin: 0;
    color: var(--muted);
}

.privacy-chip {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 15px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
    color: var(--muted);
    font-size: .84rem;
}

.quote-layout {
    display: grid;
    grid-template-columns: 265px minmax(0, 1fr);
    align-items: start;
    gap: 42px;
}

.quote-guide {
    position: sticky;
    top: 24px;
}

.quote-guide-title {
    margin-bottom: 18px;
    color: var(--ink-strong);
    font-weight: 800;
}

.quote-guide ol {
    position: relative;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    list-style: none;
}

.quote-guide ol::before {
    content: "";
    position: absolute;
    top: 25px;
    bottom: 25px;
    left: 21px;
    width: 2px;
    background: var(--line);
}

.quote-guide li {
    position: relative;
    z-index: 1;
    padding: 9px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 12px;
    border-radius: 14px;
    color: var(--muted);
}

.quote-guide li > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    background: var(--surface);
    box-shadow: var(--shadow-raised-small);
    font-weight: 800;
}

.quote-guide li strong,
.quote-guide li small {
    display: block;
}

.quote-guide li small {
    font-size: .75rem;
}

.quote-guide li[aria-current="step"] {
    background: var(--coral-soft);
    color: var(--ink-strong);
}

.quote-guide li[aria-current="step"] > span {
    background: var(--coral);
}

.quote-account-note {
    margin-top: 28px;
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 14px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
    color: var(--muted);
    font-size: .82rem;
}

.quote-form-panel {
    min-height: 560px;
}

.wizard-step {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.wizard-step legend {
    width: 100%;
    margin-bottom: 12px;
    color: var(--ink-strong);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.wizard-step legend span {
    display: block;
    margin-bottom: 8px;
    color: var(--coral-strong);
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.field-intro {
    margin-bottom: 25px;
    color: var(--muted);
}

.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.choice-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.choice-card {
    position: relative;
    min-height: 90px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
    cursor: pointer;
    transition: transform 150ms var(--ease), border-color 150ms ease, background-color 150ms ease;
}

.choice-card:hover {
    transform: translateY(-2px);
    border-color: var(--line-strong);
}

.choice-card:has(input:checked) {
    border-color: var(--coral-strong);
    background: var(--coral-soft);
    box-shadow: var(--shadow-inset);
}

.choice-card input {
    margin-top: 4px;
    accent-color: var(--coral-strong);
}

.choice-card strong,
.choice-card small {
    display: block;
}

.choice-card small {
    margin-top: 3px;
    color: var(--muted);
    font-size: .78rem;
}

.wizard-step > .field {
    margin-top: 24px;
}

.wizard-actions {
    margin-top: 32px;
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-top: 1px solid var(--line);
}

[data-wizard-next],
[data-wizard-back] {
    display: none;
}

.js [data-wizard-next],
.js [data-wizard-back] {
    display: inline-flex;
}

.auth-section {
    padding: 64px 0;
}

.auth-layout {
    display: grid;
    grid-template-columns: .88fr 1.12fr;
    align-items: stretch;
    gap: 28px;
}

.auth-story {
    position: relative;
    min-height: 590px;
    padding: 44px;
    overflow: hidden;
    border-radius: 32px;
    background: var(--lilac-soft);
    box-shadow: var(--shadow-raised);
}

.auth-story::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -115px;
    width: 320px;
    height: 320px;
    border: 56px solid var(--surface-raised);
    border-radius: 50%;
    opacity: .7;
}

.auth-story-coral {
    background: var(--coral-soft);
}

.auth-story h1 {
    max-width: 520px;
    font-size: clamp(2.4rem, 5vw, 4.3rem);
}

.auth-story p {
    position: relative;
    z-index: 1;
    max-width: 500px;
    color: var(--muted);
    font-size: 1.04rem;
}

.auth-story .tick-list {
    position: relative;
    z-index: 1;
    margin-top: 34px;
}

.auth-fine {
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: .86rem !important;
}

.auth-panel {
    align-self: center;
    max-width: 590px;
    width: 100%;
    margin-inline: auto;
}

.auth-panel h2 {
    margin-bottom: 7px;
    font-size: 2rem;
}

.auth-panel > p {
    color: var(--muted);
}

.updated-date {
    font-size: .85rem !important;
    font-weight: 700;
}

.legal-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 64px;
}

.legal-layout > nav {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 10px;
}

.legal-layout > nav a {
    color: var(--muted);
    font-size: .9rem;
}

.legal-copy {
    max-width: 780px;
}

.legal-copy article {
    padding-bottom: 34px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 24px;
}

.legal-copy h2 {
    font-size: 1.7rem;
}

.legal-copy p,
.legal-copy li {
    color: var(--muted);
}

.setup-page .result-icon {
    margin-inline: 0;
}

.setup-steps {
    margin: 34px 0;
    padding: 0;
    display: grid;
    gap: 16px;
    list-style: none;
}

.setup-steps li {
    padding: 18px;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    border-radius: 16px;
    background: var(--surface-soft);
    box-shadow: var(--shadow-inset);
}

.setup-steps li > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    background: var(--coral-soft);
    font-weight: 800;
}

.setup-steps h2 {
    margin-bottom: 4px;
    font-size: 1.12rem;
}

.setup-steps p {
    margin: 0;
    font-size: .9rem;
}

.not-found-number {
    color: var(--coral-strong);
    font-family: var(--font-display);
    font-size: clamp(4rem, 13vw, 8rem);
    font-weight: 850;
    letter-spacing: -.08em;
    line-height: .9;
}

.portal-section {
    padding: 40px 0 72px;
}

.portal-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: 42px;
}

.portal-sidebar {
    position: sticky;
    top: 24px;
}

.profile-chip,
.admin-identity {
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
}

.profile-chip strong,
.profile-chip small,
.admin-identity strong,
.admin-identity small {
    display: block;
}

.profile-chip small,
.admin-identity small {
    color: var(--muted);
    font-size: .75rem;
}

.avatar-large,
.admin-identity > span {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 16px;
    background: var(--lilac);
    color: #173d36;
    font-weight: 800;
}

.portal-nav,
.admin-nav {
    margin-top: 22px;
    display: grid;
    gap: 7px;
}

.portal-nav a,
.admin-nav a {
    padding: 11px 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 13px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
}

.portal-nav a:hover,
.portal-nav a[aria-current="page"],
.admin-nav a:hover,
.admin-nav a[aria-current="page"] {
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
    color: var(--ink-strong);
}

.sidebar-help {
    margin-top: 30px;
    padding: 16px;
    border-top: 1px solid var(--line);
}

.sidebar-help p {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: .82rem;
}

.sidebar-help a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .86rem;
    font-weight: 700;
}

.portal-heading,
.admin-heading,
.content-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.portal-heading {
    margin-bottom: 34px;
}

.portal-heading h1,
.admin-heading h1 {
    margin-bottom: 8px;
    font-size: clamp(2.3rem, 4.8vw, 4rem);
}

.portal-heading p,
.admin-heading p,
.content-heading p {
    margin: 0;
    color: var(--muted);
}

.empty-state {
    padding: 58px 40px;
    text-align: center;
    border-radius: 28px;
    background: var(--surface-soft);
    box-shadow: var(--shadow-inset);
}

.empty-illustration {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 30px;
}

.empty-illustration > span {
    position: absolute;
    inset: 0;
    border: 23px solid var(--coral);
    border-bottom: 0;
    border-radius: 60px 60px 16px 16px;
    box-shadow: var(--shadow-raised-small);
}

.empty-illustration .icon {
    position: absolute;
    right: 35px;
    bottom: 15px;
    width: 38px;
    height: 38px;
}

.empty-state p {
    max-width: 590px;
    margin: 0 auto 25px;
    color: var(--muted);
}

.dashboard-summary {
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dashboard-summary > div {
    padding: 22px;
    border-radius: 19px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
}

.dashboard-summary span {
    color: var(--ink-strong);
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
}

.dashboard-summary p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
}

.portal-records,
.settings-panel,
.admin-panel {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-raised);
}

.content-heading {
    margin-bottom: 24px;
}

.content-heading h2 {
    margin-bottom: 5px;
    font-size: 1.6rem;
}

.request-list {
    display: grid;
    gap: 15px;
}

.request-item {
    padding: 22px;
    border-radius: 18px;
    background: var(--surface-soft);
    box-shadow: var(--shadow-inset);
}

.request-topline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.request-topline h3 {
    margin: 10px 0 0;
}

.request-topline time {
    color: var(--muted);
    font-size: .82rem;
}

.status-badge {
    width: fit-content;
    padding: 4px 9px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--ink);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .01em;
}

.status-new {
    background: var(--coral-soft);
}

.status-contacted,
.status-in_progress {
    background: var(--lilac-soft);
}

.status-discovery {
    background: color-mix(in srgb, var(--yellow) 45%, var(--surface));
}

.status-quoted,
.status-success,
.status-resolved {
    background: var(--success-soft);
    color: var(--success);
}

.status-closed {
    background: var(--surface-strong);
    color: var(--muted);
}

.status-denied,
.status-failure {
    background: var(--danger-soft);
    color: var(--danger);
}

.request-meta,
.record-facts dl {
    margin: 19px 0 0;
    padding-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    border-top: 1px solid var(--line);
}

.request-meta div,
.record-facts dl div {
    min-width: 0;
}

.request-meta dt,
.record-facts dt {
    color: var(--muted);
    font-size: .72rem;
}

.request-meta dd,
.record-facts dd {
    margin: 2px 0 0;
    overflow-wrap: anywhere;
    color: var(--ink-strong);
    font-size: .87rem;
    font-weight: 650;
}

.customer-update {
    margin-top: 18px;
    padding: 15px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    border-radius: 14px;
    background: var(--lilac-soft);
}

.customer-update > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
}

.customer-update p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .88rem;
}

.waiting-note {
    margin: 16px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .84rem;
}

.settings-stack {
    display: grid;
    gap: 24px;
}

.settings-heading {
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.settings-heading > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: var(--lilac-soft);
    box-shadow: var(--shadow-raised-small);
}

.settings-heading h2 {
    margin-bottom: 3px;
    font-size: 1.5rem;
}

.settings-heading p {
    margin: 0;
    color: var(--muted);
    font-size: .84rem;
}

.admin-shell {
    width: min(calc(100% - 36px), 1440px);
    margin: 24px auto 64px;
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}

.admin-sidebar {
    position: sticky;
    top: 20px;
    min-height: 540px;
    padding: 18px;
    border-radius: 24px;
    background: var(--surface-soft);
    box-shadow: var(--shadow-inset);
}

.admin-identity {
    margin-bottom: 16px;
    background: var(--surface);
}

.admin-nav {
    margin-top: 12px;
}

.admin-nav > p {
    margin: 12px 13px 4px;
    color: var(--faint);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-main {
    min-width: 0;
}

.admin-heading {
    min-height: 108px;
    margin-bottom: 22px;
}

.admin-heading h1 {
    font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.stat-grid {
    margin-bottom: 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stat-grid article {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-radius: 18px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-raised-small);
}

.stat-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 14px;
}

.stat-coral { background: var(--coral-soft); }
.stat-lilac { background: var(--lilac-soft); }
.stat-yellow { background: color-mix(in srgb, var(--yellow) 45%, var(--surface)); }
.stat-green { background: var(--success-soft); }

.stat-grid strong {
    color: var(--ink-strong);
    font-family: var(--font-display);
    font-size: 1.7rem;
    line-height: 1;
}

.stat-grid p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.3;
}

.data-table-wrap {
    overflow-x: auto;
}

.data-table {
    font-size: .86rem;
}

.data-table th,
.data-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.data-table th {
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.data-table td {
    color: var(--muted);
}

.data-table td strong,
.data-table td small {
    display: block;
}

.data-table td strong {
    color: var(--ink-strong);
}

.data-table td small {
    margin-top: 2px;
    font-size: .72rem;
}

.data-table tr:last-child td {
    border-bottom: 0;
}

.table-empty {
    padding: 38px;
    text-align: center;
    color: var(--muted);
}

.table-empty p {
    margin: 0;
}

.admin-record-list {
    display: grid;
    gap: 13px;
}

.admin-record {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow-raised-small);
}

.admin-record summary {
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    list-style: none;
}

.admin-record summary::-webkit-details-marker {
    display: none;
}

.admin-record summary::after {
    content: "+";
    grid-column: 3;
    grid-row: 1;
    color: var(--coral-strong);
    font-size: 1.5rem;
    font-weight: 700;
}

.admin-record[open] summary::after {
    content: "–";
}

.record-primary {
    min-width: 0;
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 11px;
}

.record-primary strong,
.record-primary small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.record-primary small {
    color: var(--muted);
}

.record-secondary {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    color: var(--muted);
    font-size: .8rem;
}

.admin-record-body {
    padding: 24px;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 28px;
    border-top: 1px solid var(--line);
    background: var(--surface-soft);
}

.record-facts dl {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
    padding-top: 0;
    border: 0;
}

.submitted-note {
    margin-top: 22px;
    padding: 16px;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-inset);
}

.submitted-note p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: .88rem;
}

.admin-update-form {
    display: grid;
    gap: 17px;
}

.pagination-next {
    margin-top: 22px;
}

.muted-label {
    color: var(--muted);
    font-size: .78rem;
}

.audit-table code {
    font-size: .78rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--surface-soft);
}

.footer-main {
    padding-block: 52px 42px;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 64px;
}

.footer-brand > p {
    max-width: 390px;
    margin: 20px 0 15px;
    color: var(--muted);
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.footer-nav > div {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-nav h2 {
    margin-bottom: 5px;
    font-size: .95rem;
}

.footer-nav a {
    color: var(--muted);
    font-size: .86rem;
}

.footer-legal {
    padding-block: 22px 28px;
    display: grid;
    gap: 5px;
    border-top: 1px solid var(--line);
}

.footer-legal p {
    margin: 0;
    color: var(--faint);
    font-size: .74rem;
}

@media (max-width: 1080px) {
    .header-inner {
        gap: 18px;
    }

    .nav-link {
        padding-inline: 8px;
    }

    .nav-actions .button-primary {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr 440px;
        gap: 30px;
    }

    .coverage-intro-grid {
        grid-template-columns: 1fr;
    }

    .coverage-duo {
        max-width: 840px;
    }

    .admin-shell {
        grid-template-columns: 205px minmax(0, 1fr);
    }

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

@media (max-width: 900px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .utility-bar {
        display: none;
    }

    .header-inner {
        min-height: 74px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: 16px;
        left: 16px;
        padding: 18px;
        display: none;
        align-items: stretch;
        border-radius: 0 0 22px 22px;
        background: var(--surface);
        box-shadow: var(--shadow-raised);
    }

    .site-navigation.is-open {
        display: grid;
        gap: 16px;
    }

    .nav-main,
    .nav-actions {
        align-items: stretch;
    }

    .nav-main {
        display: grid;
    }

    .nav-actions {
        padding-top: 16px;
        display: flex;
        flex-wrap: wrap;
        border-top: 1px solid var(--line);
    }

    .nav-actions .button-primary {
        display: inline-flex;
    }

    .nav-link {
        padding: 11px 12px;
    }

    .hero {
        padding-top: 54px;
    }

    .hero-grid,
    .page-hero-grid,
    .manifesto-grid {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 440px;
        max-width: 620px;
        width: 100%;
        margin-inline: auto;
    }

    .page-hero-object {
        display: none;
    }

    .factor-layout,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process-track {
        grid-template-columns: 1fr 1fr;
    }

    .process-track::before {
        display: none;
    }

    .resource-index {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .resource-nav,
    .quote-guide,
    .portal-sidebar,
    .admin-sidebar {
        position: static;
    }

    .resource-nav {
        grid-template-columns: 1fr 1fr;
    }

    .resource-nav h2 {
        grid-column: 1 / -1;
    }

    .contact-layout,
    .quote-layout,
    .portal-layout {
        grid-template-columns: 1fr;
    }

    .quote-guide ol {
        grid-template-columns: repeat(4, 1fr);
    }

    .quote-guide ol::before,
    .quote-guide li div {
        display: none;
    }

    .quote-guide li {
        padding: 7px;
        display: grid;
        place-items: center;
    }

    .quote-guide li > span {
        width: 38px;
        height: 38px;
    }

    .quote-account-note {
        display: none;
    }

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

    .auth-story {
        min-height: 410px;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .legal-layout > nav {
        position: static;
        padding: 18px;
        grid-template-columns: 1fr 1fr;
        border-radius: 16px;
        background: var(--surface-soft);
    }

    .portal-sidebar {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 18px;
    }

    .portal-nav {
        margin: 0;
        grid-template-columns: repeat(3, 1fr);
    }

    .portal-nav a {
        justify-content: center;
    }

    .sidebar-help {
        display: none;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        min-height: 0;
    }

    .admin-nav {
        grid-template-columns: repeat(5, 1fr);
    }

    .admin-nav > p {
        display: none;
    }

    .admin-nav a {
        justify-content: center;
    }

    .admin-nav a span {
        display: none;
    }

    .admin-record-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    body {
        font-size: 15px;
    }

    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    h1 {
        font-size: clamp(2.55rem, 14vw, 4rem);
    }

    h2 {
        font-size: clamp(1.85rem, 9vw, 2.7rem);
    }

    .brand-name {
        font-size: 1.12rem;
    }

    .brand-mark {
        width: 41px;
        height: 41px;
    }

    .header-inner {
        min-height: 68px;
    }

    .site-navigation {
        right: 8px;
        left: 8px;
    }

    .nav-actions {
        display: grid;
        grid-template-columns: auto 1fr;
    }

    .nav-actions .button,
    .account-chip {
        width: 100%;
    }

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

    .logout-form .button {
        width: 100%;
    }

    .hero {
        padding: 42px 0 38px;
    }

    .hero-grid {
        display: flex;
        flex-direction: column;
    }

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

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

    .hero-actions .text-link {
        justify-content: center;
    }

    .hero-assurances {
        display: grid;
    }

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

    .hero-image-plinth {
        inset: 24px 4px 28px;
    }

    .hero-note {
        min-width: 145px;
        padding: 9px 11px;
        font-size: .74rem;
    }

    .hero-note-home {
        top: 62px;
    }

    .hero-note-future {
        right: 0;
        bottom: 20px;
    }

    .orbit-coral {
        width: 88px;
        height: 88px;
    }

    .orbit-lilac {
        width: 72px;
        height: 72px;
    }

    .trust-ribbon-grid {
        grid-template-columns: 1fr;
        padding-block: 6px;
    }

    .trust-ribbon p {
        min-height: 58px;
        justify-content: flex-start;
    }

    .trust-ribbon p + p {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .section {
        padding-block: 52px;
    }

    .section-compact {
        padding-block: 38px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading-wide,
    .action-clay,
    .licence-panel,
    .quote-header-inner,
    .portal-heading,
    .admin-heading,
    .content-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .coverage-quilt,
    .coverage-duo,
    .moment-lines,
    .principle-grid,
    .boundary-grid,
    .choice-grid,
    .choice-row,
    .two-columns,
    .dashboard-summary {
        grid-template-columns: 1fr;
    }

    .quilt-piece {
        min-height: 220px;
        padding: 27px;
        border-radius: 24px;
    }

    .coverage-panel {
        min-height: 0;
        padding: 26px;
    }

    .coverage-panel-permanent {
        margin-top: 0;
    }

    .coverage-symbol {
        margin-bottom: 32px;
    }

    .moment-lines {
        border-top: 1px solid var(--line);
    }

    .process-shell {
        padding: 30px 24px;
        border-radius: 28px;
    }

    .process-track {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .process-track li {
        display: grid;
        grid-template-columns: 43px 1fr;
        gap: 14px;
    }

    .process-track li > span {
        margin: 0;
    }

    .process-action {
        align-items: stretch;
        flex-direction: column;
    }

    .page-hero {
        padding-block: 46px 40px;
    }

    .definition-callout {
        padding: 25px;
        grid-template-columns: 1fr;
    }

    .comparison-wrap {
        border-radius: 18px;
    }

    .comparison-table {
        min-width: 680px;
    }

    .action-clay {
        padding: 30px 24px;
    }

    .manifesto-mark {
        min-height: 290px;
    }

    .manifesto-arch {
        inset-inline: 18%;
        border-width: 50px;
    }

    .manifesto-dot {
        top: 87px;
    }

    .resource-nav,
    .legal-layout > nav {
        grid-template-columns: 1fr;
    }

    .contact-aside {
        padding-inline: 0;
    }

    .form-panel {
        padding: 24px 18px;
        border-radius: 22px;
    }

    .result-page {
        padding-block: 48px;
    }

    .result-shell {
        padding: 36px 22px;
    }

    .quote-header {
        padding-block: 38px 30px;
    }

    .privacy-chip {
        width: 100%;
    }

    .quote-layout {
        gap: 24px;
    }

    .quote-form-panel {
        min-height: 0;
    }

    .choice-card {
        min-height: 78px;
    }

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

    .wizard-actions > span {
        display: none;
    }

    .wizard-actions .button {
        width: 100%;
    }

    .auth-section {
        padding-block: 38px;
    }

    .auth-story {
        min-height: 360px;
        padding: 30px 24px;
    }

    .portal-section {
        padding-top: 24px;
    }

    .portal-sidebar {
        grid-template-columns: 1fr;
    }

    .profile-chip {
        display: none;
    }

    .portal-nav {
        grid-template-columns: repeat(3, 1fr);
    }

    .portal-nav a {
        padding: 10px 6px;
        flex-direction: column;
        gap: 5px;
        font-size: .73rem;
        text-align: center;
    }

    .portal-records,
    .settings-panel,
    .admin-panel {
        padding: 20px 16px;
    }

    .request-topline {
        flex-direction: column;
    }

    .request-meta {
        grid-template-columns: 1fr 1fr;
    }

    .admin-shell {
        width: min(calc(100% - 20px), 1440px);
        margin-top: 14px;
        gap: 18px;
    }

    .admin-sidebar {
        padding: 10px;
        border-radius: 18px;
    }

    .admin-identity {
        display: none;
    }

    .admin-nav {
        grid-template-columns: repeat(5, 1fr);
    }

    .admin-nav a {
        padding: 9px 6px;
    }

    .admin-record summary {
        grid-template-columns: 1fr auto;
    }

    .admin-record summary::after {
        grid-column: 2;
    }

    .record-primary {
        grid-template-columns: auto 1fr;
    }

    .record-primary small {
        grid-column: 1 / -1;
    }

    .record-secondary {
        display: none;
    }

    .admin-record-body {
        padding: 18px;
    }

    .record-facts dl {
        grid-template-columns: 1fr;
    }

    .data-table thead {
        display: none;
    }

    .data-table,
    .data-table tbody,
    .data-table tr,
    .data-table td {
        display: block;
        width: 100%;
    }

    .data-table tr {
        padding: 13px 0;
        border-bottom: 1px solid var(--line);
    }

    .data-table tr:last-child {
        border-bottom: 0;
    }

    .data-table td {
        padding: 7px 0;
        display: grid;
        grid-template-columns: 110px 1fr;
        gap: 12px;
        border: 0;
    }

    .data-table td::before {
        content: attr(data-label);
        color: var(--faint);
        font-size: .7rem;
        font-weight: 800;
        letter-spacing: .03em;
        text-transform: uppercase;
    }

    .footer-main {
        padding-block: 42px 32px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

