:root {
    --ink: var(--color-ink, #101820);
    --ink-soft: #26333d;
    --paper: var(--color-surface, #f3f0e8);
    --paper-deep: #e9e4d8;
    --white: #fffdf8;
    --signal: var(--color-primary, #ff5c35);
    --signal-dark: #da3d1b;
    --sky: var(--color-secondary, #c7e9f2);
    --lime: #d8ef8b;
    --muted: #657078;
    --line: rgba(16, 24, 32, 0.16);
    --line-light: rgba(255, 253, 248, 0.22);
    --display: 'Manrope', Arial, sans-serif;
    --body: 'DM Sans', Arial, sans-serif;
    --shell: 1240px;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    background:
        radial-gradient(circle at 18% 8%, rgba(199, 233, 242, 0.28), transparent 26rem),
        var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

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

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

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

p,
h1,
h2,
h3,
h4,
blockquote,
figure {
    margin: 0;
}

ul,
ol {
    margin: 0;
}

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

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

.section {
    padding: 96px 0;
}

.sr-only {
    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;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    transform: translateY(-160%);
    background: var(--signal);
    color: var(--white);
    font-weight: 700;
}

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

.route-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.route-label i {
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.route-label-light {
    color: rgba(255, 253, 248, 0.7);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-dark {
    background: var(--ink);
    color: var(--white);
}

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

.button-signal {
    background: var(--signal);
    color: var(--white);
}

.button-signal:hover {
    background: var(--white);
    color: var(--ink);
}

.button-quiet {
    border-color: var(--line);
    background: transparent;
    color: var(--ink);
}

.button-quiet:hover {
    border-color: var(--ink);
    background: var(--white);
}

.button-full {
    width: 100%;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    border-bottom: 1px solid currentColor;
    font-size: 0.88rem;
    font-weight: 700;
}

.arrow-link span {
    transition: transform 180ms ease;
}

.arrow-link:hover span {
    transform: translateX(5px);
}

.arrow-link-light {
    color: var(--white);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 48px;
}

.section-heading h2 {
    max-width: 13ch;
    font-family: var(--display);
    font-size: clamp(2.3rem, 4.7vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.section-heading > p {
    max-width: 580px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 1.05rem;
}

.section-heading-row {
    display: grid;
    max-width: none;
    grid-template-columns: 1fr minmax(280px, 0.44fr);
    gap: 80px;
    align-items: end;
}

.section-heading-row > p {
    margin: 0;
}

/* Header */
.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(243, 240, 232, 0.9);
    backdrop-filter: blur(18px);
}

.nav-shell {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brandmark,
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brandmark-symbol {
    position: relative;
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    overflow: hidden;
    border-radius: 50% 50% 8px 50%;
    background: var(--ink);
    color: var(--white);
}

.brandmark-symbol i {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
}

.brandmark-symbol i:after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    top: -2px;
    right: 2px;
    border-radius: 50%;
    background: var(--signal);
}

.brandmark-symbol b {
    position: relative;
    font-family: var(--display);
    font-size: 0.69rem;
    letter-spacing: -0.05em;
}

.brandmark-name {
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav > a:not(.nav-portal) {
    position: relative;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.site-nav > a:not(.nav-portal):after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    background: var(--signal);
    transition: transform 180ms ease;
}

.site-nav > a:hover,
.site-nav > a.is-active {
    color: var(--ink);
}

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

.nav-portal {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 10px 10px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
}

.nav-portal b {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: var(--signal);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 700;
}

.nav-toggle i,
.nav-toggle i:before,
.nav-toggle i:after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
}

.nav-toggle i {
    position: relative;
}

.nav-toggle i:before,
.nav-toggle i:after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle i:before { top: -6px; }
.nav-toggle i:after { top: 6px; }

/* Alerts */
.flash {
    position: relative;
    z-index: 10;
    margin: 18px 0 0;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--signal);
    border-radius: 8px;
    background: var(--white);
    font-weight: 600;
}

.flash-success { border-left-color: #27845b; }
.flash-error { border-left-color: #bf321e; }

/* Home */
.home-hero {
    padding: 66px 0 76px;
    overflow: hidden;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1.18fr);
    gap: 72px;
    align-items: center;
}

.hero-copy h1,
.page-intro h1,
.dashboard-intro h1,
.contact-intro h1,
.login-card h1,
.account-layout h1 {
    font-family: var(--display);
    font-size: clamp(3.8rem, 7.6vw, 7.6rem);
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 0.88;
}

.hero-copy p {
    max-width: 560px;
    margin: 28px 0 34px;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.hero-visual {
    position: relative;
    min-height: 610px;
}

.hero-image-wrap {
    position: absolute;
    inset: 0 0 44px 0;
    overflow: hidden;
    border-radius: 160px 18px 160px 18px;
    background: var(--sky);
}

.hero-image-wrap:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 56%, rgba(16, 24, 32, 0.25));
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-route-card {
    position: absolute;
    right: -18px;
    bottom: 0;
    width: min(360px, 80%);
    padding: 22px 24px;
    border-radius: 16px 0 16px 16px;
    background: var(--signal);
    color: var(--white);
    box-shadow: 0 24px 50px rgba(16, 24, 32, 0.18);
}

.hero-route-card > span,
.hero-coordinate {
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-route-card strong {
    display: block;
    margin: 7px 0 18px;
    font-family: var(--display);
    font-size: 1.32rem;
}

.hero-route-card div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-route-card div:before {
    content: '';
    position: absolute;
    right: 6px;
    left: 6px;
    border-top: 1px dashed rgba(255, 255, 255, 0.7);
}

.hero-route-card i {
    position: relative;
    width: 12px;
    height: 12px;
    border: 3px solid var(--white);
    border-radius: 50%;
    background: var(--signal);
}

.hero-route-card b {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
}

.hero-coordinate {
    position: absolute;
    bottom: 13px;
    left: -34px;
    transform: rotate(-90deg);
    transform-origin: left center;
    color: var(--muted);
}

.proof-rail {
    background: var(--ink);
    color: var(--white);
}

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

.proof-grid div {
    position: relative;
    display: flex;
    min-height: 124px;
    flex-direction: column;
    justify-content: center;
    padding: 20px 36px;
    border-left: 1px solid var(--line-light);
}

.proof-grid div:first-child {
    border-left: 0;
}

.proof-grid div:after {
    content: '';
    position: absolute;
    top: 24px;
    right: 24px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--signal);
}

.proof-grid strong {
    font-family: var(--display);
    font-size: 1.75rem;
    letter-spacing: -0.04em;
}

.proof-grid span {
    color: rgba(255, 253, 248, 0.62);
    font-size: 0.8rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.feature-card {
    min-height: 270px;
    padding: 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.34);
    transition: background 180ms ease, transform 180ms ease;
}

.feature-card:hover {
    position: relative;
    z-index: 2;
    transform: translateY(-6px);
    background: var(--white);
}

.feature-card > span,
.principle-grid article > span {
    color: var(--signal);
    font-family: var(--display);
    font-size: 0.85rem;
    font-weight: 800;
}

.feature-card h3,
.principle-grid h3 {
    max-width: 13ch;
    margin: 64px 0 14px;
    font-family: var(--display);
    font-size: 1.7rem;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.feature-card p {
    color: var(--muted);
}

.access-story {
    background: var(--white);
}

.access-story-grid,
.human-grid,
.rate-promise-grid,
.featured-story-grid,
.contact-layout-grid,
.login-grid,
.account-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
    gap: 80px;
    align-items: center;
}

.access-image {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    border-radius: 18px 140px 18px 18px;
}

.access-image img,
.human-image img,
.rate-promise-image img,
.featured-story-image img,
.login-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.access-image > span,
.rate-promise-image > span {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.access-copy h2,
.origin-copy h2,
.human-copy h2,
.rate-promise-copy h2 {
    font-family: var(--display);
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.access-copy > p,
.origin-copy > p,
.human-copy > p,
.rate-promise-copy > p {
    margin-top: 24px;
    color: var(--muted);
    font-size: 1.03rem;
}

.signal-list {
    margin-top: 34px;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.signal-list li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
}

.signal-list span {
    color: var(--signal);
    font-size: 0.74rem;
    font-weight: 800;
}

.how-it-works {
    background: var(--ink);
    color: var(--white);
}

.how-it-works .section-heading > p {
    color: rgba(255, 253, 248, 0.62);
}

.step-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
    border-top: 1px solid var(--line-light);
    list-style: none;
}

.step-line li {
    position: relative;
    min-height: 220px;
    padding: 28px;
    border-right: 1px solid var(--line-light);
}

.step-line li:last-child {
    border-right: 0;
}

.step-line li:before {
    content: '';
    position: absolute;
    top: -6px;
    left: 28px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--signal);
}

.step-line span {
    color: rgba(255, 253, 248, 0.5);
    font-size: 0.76rem;
    font-weight: 700;
}

.step-line h3 {
    margin: 62px 0 8px;
    font-family: var(--display);
    font-size: 2rem;
}

.step-line p {
    color: rgba(255, 253, 248, 0.62);
}

.quote-feature {
    background: var(--signal);
    color: var(--white);
}

.quote-feature-grid {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 32px 54px;
}

.quote-glyph {
    font-family: var(--display);
    font-size: 8rem;
    font-weight: 800;
    line-height: 0.7;
}

.quote-feature blockquote p,
.featured-story blockquote > p {
    max-width: 980px;
    font-family: var(--display);
    font-size: clamp(2rem, 4.4vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.06;
}

.quote-feature blockquote footer,
.featured-story blockquote footer {
    display: flex;
    gap: 18px;
    margin-top: 30px;
    align-items: center;
}

.quote-feature blockquote footer span,
.featured-story blockquote footer span {
    opacity: 0.68;
}

.quote-feature .arrow-link {
    grid-column: 2;
    justify-self: start;
    margin-top: 0;
}

/* Internal public pages */
.page-intro {
    padding: 96px 0 70px;
}

.page-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
    gap: 70px;
    align-items: end;
}

.page-intro h1 {
    max-width: 10ch;
    font-size: clamp(3.4rem, 6.6vw, 6.6rem);
}

.page-intro-lead {
    max-width: 520px;
    padding-bottom: 8px;
    color: var(--ink-soft);
    font-size: 1.15rem;
}

.editorial-image {
    position: relative;
    height: 560px;
    overflow: hidden;
    border-radius: 18px 150px 18px 18px;
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-image-note {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 210px;
    padding: 18px;
    border-radius: 12px;
    background: var(--lime);
}

.editorial-image-note span,
.editorial-image-note strong {
    display: block;
}

.editorial-image-note span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.editorial-image-note strong {
    margin-top: 4px;
    font-family: var(--display);
    font-size: 1.45rem;
}

.origin-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr);
    gap: 100px;
}

.origin-stat {
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.origin-stat strong,
.origin-stat span {
    display: block;
}

.origin-stat strong {
    font-family: var(--display);
    font-size: clamp(4.8rem, 9vw, 8.4rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.origin-stat span {
    max-width: 210px;
    color: var(--muted);
}

.principles-section {
    background: var(--ink);
    color: var(--white);
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line-light);
}

.principle-grid article {
    min-height: 240px;
    padding: 26px 30px;
    border-right: 1px solid var(--line-light);
}

.principle-grid article:last-child {
    border-right: 0;
}

.principle-grid h3 {
    margin-top: 58px;
}

.principle-grid p {
    color: rgba(255, 253, 248, 0.62);
}

.human-copy .button {
    margin-top: 30px;
}

.human-image {
    height: 520px;
    overflow: hidden;
    border-radius: 120px 18px 18px 18px;
}

.benefits-intro-new {
    padding-bottom: 88px;
}

.benefit-map {
    padding-bottom: 96px;
}

.benefit-map-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.benefit-map-card {
    min-height: 300px;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.26);
}

.benefit-map-card:nth-child(2),
.benefit-map-card:nth-child(6) {
    background: var(--sky);
}

.benefit-map-card:nth-child(4) {
    background: var(--lime);
}

.benefit-map-card > div {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.benefit-map-card h2 {
    margin: 84px 0 14px;
    font-family: var(--display);
    font-size: 1.75rem;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.benefit-map-card p {
    color: var(--ink-soft);
}

.rate-promise-new {
    background: var(--ink);
    color: var(--white);
}

.rate-promise-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 18px 120px 18px 18px;
}

.rate-promise-copy > p {
    color: rgba(255, 253, 248, 0.65);
}

.rate-promise-copy .button {
    margin-top: 30px;
}

.simple-step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.simple-step-grid li {
    display: grid;
    min-height: 180px;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 26px;
    border-right: 1px solid var(--line);
}

.simple-step-grid li:last-child { border-right: 0; }
.simple-step-grid > li > span { color: var(--signal); font-weight: 800; }
.simple-step-grid h3 { font-family: var(--display); font-size: 1.45rem; }
.simple-step-grid p { margin-top: 8px; color: var(--muted); }

/* Stories */
.featured-story {
    padding-bottom: 96px;
}

.featured-story-grid {
    padding: 34px;
    border-radius: 18px;
    background: var(--signal);
    color: var(--white);
}

.featured-story-image {
    height: 560px;
    overflow: hidden;
    border-radius: 12px 100px 12px 12px;
}

.featured-story blockquote .quote-glyph {
    display: block;
    margin-bottom: 24px;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.story-card {
    min-height: 330px;
    padding: 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.story-card > span {
    color: var(--signal);
    font-weight: 800;
}

.story-card blockquote {
    margin: 46px 0 28px;
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.035em;
}

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

.story-card footer small {
    color: var(--muted);
}

/* Contact and forms */
.contact-layout {
    padding: 80px 0 96px;
    background: linear-gradient(115deg, var(--sky) 0 46%, var(--paper) 46%);
}

.contact-layout-grid {
    align-items: start;
}

.contact-intro {
    padding-top: 40px;
}

.contact-intro h1 {
    max-width: 9ch;
    font-size: clamp(3.4rem, 6.3vw, 6.4rem);
}

.contact-intro > p {
    max-width: 500px;
    margin-top: 24px;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.contact-methods {
    display: grid;
    max-width: 440px;
    gap: 0;
    margin-top: 50px;
    border-top: 1px solid var(--line);
}

.contact-methods a {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.contact-methods span,
.contact-methods strong {
    display: block;
}

.contact-methods span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-methods strong {
    margin-top: 4px;
    font-family: var(--display);
    font-size: 1.25rem;
}

.contact-form-card,
.account-form-card,
.login-card {
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 28px 70px rgba(16, 24, 32, 0.09);
}

.form-card-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.form-card-heading span {
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: 700;
}

.form-card-heading small {
    max-width: 180px;
    color: var(--muted);
    text-align: right;
}

.field {
    margin-bottom: 22px;
}

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

.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink-soft);
    font-size: 0.76rem;
    font-weight: 700;
}

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

.field input,
.field textarea,
.field select,
.admin-search input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
    color: var(--ink);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input,
.field select {
    min-height: 48px;
    padding: 10px 13px;
}

.field textarea {
    min-height: 128px;
    padding: 12px 13px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.admin-search input:focus {
    border-color: var(--signal);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255, 92, 53, 0.14);
}

.field-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Login */
.login-layout {
    padding: 70px 0;
}

.login-grid {
    max-width: 1080px;
    grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1fr);
    gap: 0;
}

.login-card {
    position: relative;
    z-index: 2;
    border-radius: 18px 0 0 18px;
    box-shadow: none;
}

.login-card h1 {
    font-size: clamp(3rem, 5vw, 5rem);
}

.login-card > p {
    margin: 14px 0 30px;
    color: var(--muted);
}

.login-help {
    margin: 24px 0 0 !important;
    font-size: 0.83rem;
}

.login-help a {
    border-bottom: 1px solid currentColor;
    color: var(--signal-dark);
    font-weight: 700;
}

.login-visual {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    border-radius: 0 120px 18px 0;
}

.login-visual:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(16, 24, 32, 0.7));
}

.login-visual > div {
    position: absolute;
    z-index: 2;
    right: 30px;
    bottom: 30px;
    left: 30px;
    color: var(--white);
}

.login-visual span,
.login-visual strong {
    display: block;
}

.login-visual span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.login-visual strong {
    max-width: 12ch;
    margin-top: 8px;
    font-family: var(--display);
    font-size: 2rem;
    line-height: 1.05;
}

/* Member workspace */
.member-strip {
    background: var(--ink);
    color: var(--white);
}

.member-strip-inner {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.75rem;
}

.member-strip-inner > span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.member-strip-inner > span i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lime);
}

.member-strip nav {
    display: flex;
    gap: 20px;
}

.member-strip a {
    color: rgba(255, 253, 248, 0.66);
}

.member-strip a:hover {
    color: var(--white);
}

.dashboard-intro {
    padding: 72px 0 54px;
}

.member-data-notice {
    padding-top: 22px;
}

.member-data-notice .flash {
    margin-bottom: 0;
}

.dashboard-intro-grid {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 60px;
}

.dashboard-intro h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 5.4vw, 5.6rem);
}

.dashboard-intro p {
    margin-top: 18px;
    color: var(--muted);
}

.service-launcher {
    padding: 22px 0 88px;
}

.service-launcher-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.service-launcher-heading span {
    font-weight: 700;
}

.service-launcher-heading small {
    color: var(--muted);
}

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

.service-launch-card {
    position: relative;
    display: grid;
    min-height: 230px;
    grid-template-columns: 38px 1fr auto;
    gap: 16px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.service-launch-card:hover {
    transform: translateY(-5px);
    background: var(--sky);
}

.service-launch-card-featured {
    grid-column: span 2;
    background: var(--signal);
    color: var(--white);
}

.service-launch-card-featured:hover {
    background: var(--ink);
}

.service-launch-card > span {
    font-size: 0.74rem;
    font-weight: 800;
}

.service-launch-card h2 {
    max-width: 14ch;
    margin: 48px 0 10px;
    font-family: var(--display);
    font-size: 1.6rem;
    line-height: 1.04;
}

.service-launch-card p {
    max-width: 440px;
    color: var(--muted);
    font-size: 0.88rem;
}

.service-launch-card-featured p {
    color: rgba(255, 253, 248, 0.74);
}

.service-launch-card > b {
    font-size: 1.2rem;
}

.dashboard-utilities {
    padding: 0 0 88px;
}

.utility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
}

.utility-grid a {
    position: relative;
    padding: 24px 48px 24px 0;
    border-right: 1px solid var(--line);
}

.utility-grid a + a {
    padding-left: 24px;
}

.utility-grid a:last-child { border-right: 0; }
.utility-grid span,
.utility-grid strong { display: block; }
.utility-grid span { color: var(--muted); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.utility-grid strong { margin-top: 5px; font-family: var(--display); font-size: 1.12rem; }
.utility-grid b { position: absolute; top: 24px; right: 20px; color: var(--signal); }

.service-toolbar {
    padding: 52px 0 34px;
}

.service-toolbar-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: end;
}

.service-toolbar h1 {
    font-family: var(--display);
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.service-toolbar p {
    max-width: 650px;
    margin-top: 14px;
    color: var(--muted);
}

.service-frame-wrap {
    margin-bottom: 72px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.service-frame-top {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 0.72rem;
}

.service-frame-top span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.service-frame-top i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #27845b;
}

.service-frame-top small { color: var(--muted); }
.service-frame-wrap iframe { display: block; width: 100%; min-height: 74vh; border: 0; background: #fff; }

.account-layout {
    padding: 72px 0 96px;
}

.account-layout-grid {
    align-items: start;
}

.account-layout header {
    padding-top: 22px;
}

.account-layout h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 5.5vw, 5.7rem);
}

.account-layout header p {
    max-width: 450px;
    margin-top: 20px;
    color: var(--muted);
}

/* Footer */
.site-footer {
    background: var(--ink);
    color: var(--white);
}

.footer-cta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    padding: 78px 0;
    border-bottom: 1px solid var(--line-light);
}

.footer-cta h2 {
    max-width: 12ch;
    font-family: var(--display);
    font-size: clamp(2.8rem, 6vw, 6rem);
    line-height: 0.9;
    letter-spacing: -0.065em;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr auto minmax(220px, 0.34fr);
    gap: 70px;
    align-items: start;
    padding: 46px 0;
}

.footer-wordmark {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.05em;
}

.footer-nav,
.footer-support {
    display: grid;
    gap: 7px;
}

.footer-nav a,
.footer-support a {
    color: rgba(255, 253, 248, 0.68);
    font-size: 0.85rem;
}

.footer-nav a:hover,
.footer-support a:hover {
    color: var(--white);
}

.footer-support > span {
    margin-bottom: 4px;
    color: var(--signal);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 18px 0 24px;
    border-top: 1px solid var(--line-light);
    color: rgba(255, 253, 248, 0.43);
    font-size: 0.72rem;
}

.site-footer-compact .footer-main {
    padding-top: 34px;
    padding-bottom: 34px;
}

/* Admin login */
.admin-login-page {
    background: var(--sky);
}

.admin-login {
    display: grid;
    min-height: calc(100vh - 150px);
    place-items: center;
    padding: 50px 24px;
}

.admin-login-brand {
    position: absolute;
    top: 28px;
    left: 32px;
    display: grid;
    grid-template-columns: 42px auto;
    align-items: center;
    gap: 0 12px;
}

.admin-login-brand .brandmark-symbol {
    grid-row: span 2;
}

.admin-login-brand strong,
.admin-login-brand small {
    display: block;
}

.admin-login-brand strong { font-family: var(--display); }
.admin-login-brand small { color: var(--muted); font-size: 0.7rem; }

.admin-login-card {
    width: min(100%, 460px);
    padding: 40px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 28px 80px rgba(16, 24, 32, 0.12);
}

.admin-login-card h1 {
    font-family: var(--display);
    font-size: 2.6rem;
    line-height: 1;
    letter-spacing: -0.055em;
}

.admin-login-card > p {
    margin: 12px 0 28px;
    color: var(--muted);
}

.admin-login-card .flash {
    margin: 0 0 20px;
}

.admin-login-back {
    position: absolute;
    bottom: 30px;
    left: 32px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Admin workspace */
.admin-body {
    background: #ece9e1;
}

.admin-layout {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 250px minmax(0, 1fr);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 28px 24px;
    background: var(--ink);
    color: var(--white);
}

.admin-brand > span:last-child {
    display: block;
}

.admin-brand strong,
.admin-brand small {
    display: block;
}

.admin-brand strong {
    font-family: var(--display);
    font-size: 0.92rem;
}

.admin-brand small {
    color: rgba(255, 253, 248, 0.48);
    font-size: 0.68rem;
}

.admin-nav {
    display: grid;
    gap: 5px;
    margin-top: 48px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 13px;
    border-radius: 8px;
    color: rgba(255, 253, 248, 0.62);
    font-size: 0.82rem;
    font-weight: 600;
}

.admin-nav a:hover,
.admin-nav a.is-active {
    background: rgba(255, 255, 255, 0.09);
    color: var(--white);
}

.admin-nav a.is-active b {
    color: var(--signal);
}

.admin-nav b {
    font-size: 0.68rem;
}

.admin-nav-secondary {
    position: absolute;
    right: 24px;
    bottom: 28px;
    left: 24px;
    margin: 0;
}

.admin-main {
    min-width: 0;
    padding: 38px 42px 60px;
}

.admin-topbar {
    margin-bottom: 28px;
}

.admin-topbar span {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-topbar h1 {
    margin-top: 5px;
    font-family: var(--display);
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.admin-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.admin-summary article {
    display: flex;
    min-height: 100px;
    align-items: end;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 253, 248, 0.7);
}

.admin-summary span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.admin-summary strong {
    font-family: var(--display);
    font-size: 2.3rem;
    line-height: 1;
}

.admin-panel {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.admin-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
}

.admin-panel-heading h2,
.editor-section-heading h2 {
    font-family: var(--display);
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.admin-panel-heading p,
.editor-section-heading p {
    color: var(--muted);
    font-size: 0.82rem;
}

.admin-search {
    display: grid;
    grid-template-columns: auto minmax(220px, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 10px 10px 10px 16px;
    border-radius: 10px;
    background: #efede7;
}

.admin-search label {
    font-size: 0.75rem;
    font-weight: 700;
}

.admin-search input {
    min-height: 42px;
    padding: 8px 12px;
}

.admin-search button {
    min-height: 42px;
    padding: 8px 15px;
    border: 0;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
}

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

.admin-panel table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.admin-panel th,
.admin-panel td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.admin-panel th {
    color: var(--muted);
    font-size: 0.68rem;
    text-transform: uppercase;
}

.admin-panel td strong,
.admin-panel td small {
    display: block;
}

.admin-panel td small {
    color: var(--muted);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.status-pill:before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-pill.is-active { background: #e0f1e9; color: #1e6748; }
.status-pill.is-active:before { background: #27845b; }
.status-pill.is-inactive { background: #eee8e2; color: #765d50; }
.status-pill.is-inactive:before { background: #927664; }

.table-action {
    color: var(--signal-dark);
    font-weight: 700;
}

.pagination {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    color: var(--muted);
    font-size: 0.76rem;
}

.pagination div {
    display: flex;
    gap: 16px;
}

.pagination a {
    color: var(--ink);
    font-weight: 700;
}

.empty-state {
    padding: 48px 24px;
    border: 1px dashed var(--line);
    border-radius: 10px;
    color: var(--muted);
    text-align: center;
}

.member-editor {
    max-width: 980px;
}

.editor-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin: 16px 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.editor-section-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.editor-section-heading span {
    color: var(--signal);
    font-size: 0.72rem;
    font-weight: 800;
}

.editor-grid {
    margin-bottom: 42px;
}

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

.editor-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.editor-actions a {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.inline-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.78rem;
}

/* Motion */
body.has-motion .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.has-motion .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 1100px) {
    .home-hero-grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(400px, 1fr);
        gap: 40px;
    }

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

    .access-story-grid,
    .human-grid,
    .rate-promise-grid,
    .featured-story-grid {
        gap: 48px;
    }

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

    .admin-main {
        padding-inline: 28px;
    }
}

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

    .section {
        padding: 68px 0;
    }

    .nav-toggle {
        position: relative;
        z-index: 102;
        display: inline-flex;
    }

    .site-nav {
        flex-wrap: wrap;
        padding: 16px 0 22px;
    }

    .js .site-nav {
        position: fixed;
        z-index: 101;
        inset: 0;
        display: flex;
        visibility: hidden;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 20px;
        padding: 80px 34px;
        transform: translateY(-20px);
        opacity: 0;
        background: var(--paper);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .js .site-nav.is-open {
        visibility: visible;
        transform: none;
        opacity: 1;
    }

    .site-nav > a:not(.nav-portal) {
        font-family: var(--display);
        font-size: 2.2rem;
        letter-spacing: -0.05em;
    }

    .site-nav > a:not(.nav-portal):after {
        display: none;
    }

    .nav-portal {
        margin-top: 10px;
    }

    .home-hero {
        padding-top: 52px;
    }

    .home-hero-grid,
    .page-intro-grid,
    .access-story-grid,
    .human-grid,
    .rate-promise-grid,
    .featured-story-grid,
    .contact-layout-grid,
    .account-layout-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        max-width: 9ch;
    }

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

    .hero-coordinate {
        display: none;
    }

    .proof-grid,
    .feature-grid,
    .principle-grid,
    .benefit-map-grid,
    .step-line,
    .simple-step-grid,
    .utility-grid {
        grid-template-columns: 1fr;
    }

    .proof-grid div {
        min-height: 90px;
        padding-left: 0;
        border-left: 0;
        border-bottom: 1px solid var(--line-light);
    }

    .feature-card {
        min-height: 220px;
    }

    .section-heading-row,
    .origin-grid,
    .service-toolbar-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .step-line li,
    .principle-grid article,
    .simple-step-grid li {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line-light);
    }

    .simple-step-grid li {
        border-bottom-color: var(--line);
    }

    .step-line h3 {
        margin-top: 34px;
    }

    .quote-feature-grid {
        grid-template-columns: 62px 1fr;
    }

    .editorial-image {
        height: 460px;
    }

    .origin-grid {
        gap: 54px;
    }

    .principle-grid article {
        min-height: 210px;
    }

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

    .story-card {
        min-height: 0;
    }

    .contact-layout {
        background: linear-gradient(180deg, var(--sky) 0 38%, var(--paper) 38%);
    }

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

    .login-card {
        border-radius: 18px 18px 0 0;
    }

    .login-visual {
        min-height: 360px;
        border-radius: 0 0 90px 18px;
    }

    .dashboard-intro-grid {
        display: grid;
        align-items: start;
    }

    .service-launcher-grid {
        grid-template-columns: 1fr;
    }

    .service-launch-card-featured {
        grid-column: auto;
    }

    .utility-grid a,
    .utility-grid a + a {
        padding: 20px 42px 20px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .footer-cta {
        display: grid;
        align-items: start;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-wordmark {
        grid-column: 1 / -1;
    }

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

    .admin-sidebar {
        position: relative;
        display: flex;
        height: auto;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 16px 20px;
    }

    .admin-nav {
        display: flex;
        margin: 0;
    }

    .admin-nav-secondary {
        position: static;
    }

    .admin-nav-secondary a:first-child {
        display: none;
    }

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

@media (max-width: 580px) {
    .section {
        padding: 56px 0;
    }

    .nav-shell {
        min-height: 68px;
    }

    .brandmark-symbol {
        width: 38px;
        height: 38px;
    }

    .home-hero {
        padding: 42px 0 54px;
    }

    .hero-copy h1,
    .page-intro h1,
    .contact-intro h1,
    .dashboard-intro h1,
    .account-layout h1 {
        font-size: clamp(3rem, 15vw, 4.4rem);
    }

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

    .hero-image-wrap {
        bottom: 30px;
        border-radius: 90px 12px 90px 12px;
    }

    .hero-route-card {
        right: -8px;
        width: 84%;
        padding: 16px 18px;
    }

    .feature-card {
        min-height: 0;
    }

    .feature-card h3 {
        margin-top: 42px;
    }

    .access-image,
    .human-image,
    .rate-promise-image,
    .featured-story-image,
    .editorial-image {
        height: 360px;
        min-height: 0;
        border-radius: 12px 70px 12px 12px;
    }

    .quote-feature-grid {
        grid-template-columns: 1fr;
    }

    .quote-glyph {
        font-size: 5rem;
    }

    .quote-feature .arrow-link {
        grid-column: 1;
    }

    .page-intro {
        padding: 62px 0 48px;
    }

    .editorial-image-note {
        right: 12px;
        bottom: 12px;
    }

    .benefit-map-card {
        min-height: 240px;
    }

    .benefit-map-card h2 {
        margin-top: 54px;
    }

    .featured-story-grid {
        padding: 14px;
    }

    .contact-layout {
        padding: 52px 0 68px;
    }

    .contact-form-card,
    .account-form-card,
    .login-card,
    .admin-login-card {
        padding: 26px 20px;
    }

    .field-grid,
    .editor-grid {
        grid-template-columns: 1fr;
    }

    .form-card-heading {
        display: block;
    }

    .form-card-heading small {
        display: block;
        margin-top: 5px;
        text-align: left;
    }

    .login-layout {
        padding: 38px 0 54px;
    }

    .login-visual {
        min-height: 250px;
    }

    .member-strip-inner {
        display: block;
        padding: 10px 0;
    }

    .member-strip nav {
        margin-top: 6px;
    }

    .dashboard-intro {
        padding-top: 52px;
    }

    .service-launcher-heading {
        display: block;
    }

    .service-launcher-heading small {
        display: block;
        margin-top: 3px;
    }

    .service-launch-card {
        min-height: 200px;
        padding: 22px;
    }

    .service-launch-card h2 {
        margin-top: 32px;
    }

    .service-toolbar {
        padding-top: 42px;
    }

    .service-frame-wrap iframe {
        min-height: 68vh;
    }

    .footer-cta {
        padding: 58px 0;
    }

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

    .footer-wordmark {
        grid-column: auto;
    }

    .footer-bottom {
        display: grid;
        gap: 4px;
    }

    .admin-login {
        min-height: 100vh;
        padding-top: 110px;
        padding-bottom: 90px;
    }

    .admin-login-brand {
        top: 20px;
        left: 20px;
    }

    .admin-login-back {
        bottom: 20px;
        left: 20px;
    }

    .admin-sidebar {
        display: grid;
    }

    .admin-nav {
        width: 100%;
    }

    .admin-nav a {
        flex: 1;
    }

    .admin-nav-secondary {
        position: absolute;
        top: 18px;
        right: 16px;
        width: auto;
    }

    .admin-nav-secondary a {
        padding: 8px;
    }

    .admin-main {
        padding: 28px 16px 50px;
    }

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

    .admin-summary article {
        min-height: 76px;
    }

    .admin-panel {
        padding: 18px;
    }

    .admin-panel-heading,
    .editor-section-heading {
        display: grid;
        align-items: start;
    }

    .admin-search {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .admin-search label {
        display: none;
    }

    .pagination {
        display: grid;
    }

    .field-span {
        grid-column: auto;
    }
}

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

    *,
    *:before,
    *:after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    body.has-motion .reveal {
        opacity: 1;
        transform: none;
    }
}
