:root {
    color-scheme: light;
    --bg: #f9fafb;
    --surface: #ffffff;
    --surface-soft: #f3f4f6;
    --ink: #111827;
    --muted: #4b5563;
    --subtle: #6b7280;
    --line: #d1d5db;
    --line-soft: #e5e7eb;
    --indigo: #4f46e5;
    --indigo-strong: #4338ca;
    --purple: #9333ea;
    --green: #16a34a;
    --shadow: 0 10px 15px -3px rgb(0 0 0 / 10%), 0 4px 6px -4px rgb(0 0 0 / 10%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #030712;
    --surface: #111827;
    --surface-soft: #1f2937;
    --ink: #f9fafb;
    --muted: #d1d5db;
    --subtle: #9ca3af;
    --line: #374151;
    --line-soft: #1f2937;
    --indigo: #6366f1;
    --indigo-strong: #818cf8;
    --purple: #a855f7;
    --green: #22c55e;
    --shadow: 0 20px 25px -5px rgb(0 0 0 / 35%), 0 8px 10px -6px rgb(0 0 0 / 35%);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgb(99 102 241 / 16%), transparent 30rem),
        radial-gradient(circle at bottom left, rgb(147 51 234 / 10%), transparent 26rem),
        var(--bg);
    color: var(--ink);
}

body[data-state="loading"],
body[data-state="error"] {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

body.no-scroll {
    overflow: hidden;
}

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

a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.load-state {
    max-width: 26rem;
    padding: 1rem;
    color: var(--muted);
    font-size: .875rem;
    font-weight: 500;
    text-align: center;
}

.load-state[hidden],
.site-shell[hidden],
.brand img[hidden],
.details-modal[hidden] {
    display: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 5rem;
    padding-inline: max(1rem, calc((100vw - 80rem) / 2 + 1rem));
    border-bottom: 1px solid color-mix(in srgb, var(--line-soft) 72%, transparent);
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: blur(16px);
}

main {
    flex: 1 0 auto;
    padding-top: 5rem;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

.brand:hover {
    text-decoration: none;
}

.brand img {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    border-radius: .5rem;
    object-fit: cover;
    background: var(--surface);
}

.brand span {
    display: grid;
    gap: .125rem;
    min-width: 0;
}

.brand strong {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.brand small {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .25rem;
    color: var(--muted);
    font-size: .875rem;
    font-weight: 500;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.site-nav a,
.site-nav button,
.theme-toggle,
.nav-toggle {
    min-height: 2.5rem;
    border-radius: .5rem;
}

.site-nav a,
.site-nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: .5rem .75rem;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.site-nav a:hover,
.site-nav button:hover,
.theme-toggle:hover,
.nav-toggle:hover {
    background: var(--surface-soft);
    color: var(--ink);
    text-decoration: none;
}

.site-nav .nav-cta {
    margin-left: .25rem;
    padding: .75rem 1.5rem;
    background: var(--indigo);
    color: #ffffff;
    font-weight: 500;
}

.site-nav .nav-cta:hover {
    background: var(--indigo-strong);
    color: #ffffff;
}

.theme-toggle,
.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

.site-nav .nav-toggle {
    display: none;
}

.theme-toggle svg,
.nav-toggle svg {
    width: 1.125rem;
    height: 1.125rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.hero {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: min(42rem, calc(100vh - 5rem));
    padding: 4rem max(1rem, calc((100vw - 80rem) / 2 + 1rem)) 5rem;
    text-align: center;
}

.hero::before,
.hero::after {
    position: absolute;
    content: "";
    border-radius: 999px;
    pointer-events: none;
}

.hero::before {
    top: -5rem;
    right: -5rem;
    width: 24rem;
    height: 24rem;
    background: rgb(99 102 241 / 20%);
    filter: blur(64px);
}

.hero::after {
    bottom: -5rem;
    left: -5rem;
    width: 20rem;
    height: 20rem;
    background: rgb(147 51 234 / 10%);
    filter: blur(64px);
}

.hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 76rem;
}

.availability {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    margin: 0;
    padding: .25rem .75rem;
    border: 1px solid color-mix(in srgb, var(--indigo) 22%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--indigo) 10%, transparent);
    color: var(--indigo-strong);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.hero h1 {
    max-width: 76rem;
    margin: 1rem auto 1.5rem;
    color: var(--ink);
    font-size: clamp(3.25rem, 6vw, 4.75rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.12;
}

.hero__headline-highlight {
    background: linear-gradient(90deg, var(--indigo), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__intro {
    max-width: 48rem;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.25rem;
    line-height: 1.625;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    border: 0;
    border-radius: .5rem;
    padding: .75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.button:hover {
    text-decoration: none;
}

.button--primary {
    background: var(--indigo);
    color: #ffffff;
}

.button--primary:hover {
    background: var(--indigo-strong);
}

.button--secondary {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
}

.button--secondary:hover {
    background: var(--surface-soft);
}

.button__icon,
.card__arrow,
.system-card svg,
.details-modal svg {
    width: 1.125rem;
    height: 1.125rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.button__icon {
    margin-left: .5rem;
}

.section {
    padding: 5rem max(1rem, calc((100vw - 80rem) / 2 + 1rem));
}

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

.blog-section {
    padding-top: 5rem;
}

.section__heading {
    max-width: 48rem;
    margin: 0 0 2rem;
}

.section__heading h2 {
    margin: 0 0 1rem;
    color: var(--ink);
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.blog-section .section__heading h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.section__heading p {
    margin: 0;
    color: var(--muted);
    font-size: 1.125rem;
    line-height: 1.6;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 1.5rem;
}

.filter-pill {
    min-height: 2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: .375rem 1rem;
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-size: .875rem;
    font-weight: 500;
}

.filter-pill:hover {
    color: var(--ink);
}

.filter-pill[data-active="true"] {
    background: var(--indigo);
    color: #ffffff;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.card,
.system-card,
.start-option {
    border: 1px solid var(--line-soft);
    border-radius: .75rem;
    background: var(--surface);
    box-shadow: var(--shadow);
}

:root[data-theme="dark"] .card,
:root[data-theme="dark"] .system-card,
:root[data-theme="dark"] .start-option {
    background: color-mix(in srgb, var(--surface) 74%, transparent);
}

.card {
    display: flex;
    min-height: 16rem;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.card:hover {
    transform: translateY(-.25rem);
    border-color: color-mix(in srgb, var(--indigo) 40%, var(--line-soft));
}

.card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.card__meta span,
.start-option span {
    color: var(--indigo-strong);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.card__meta span:last-child {
    color: var(--subtle);
    text-align: right;
}

.card h3,
.system-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
}

.card p,
.system-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.card a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    width: fit-content;
    margin-top: auto;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--indigo-strong);
    cursor: pointer;
    font: inherit;
    font-weight: 500;
}

.card a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.system-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.system-card {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.system-card[data-card-kind="project"] {
    border-top: 4px solid var(--indigo);
}

.system-card[data-card-kind="service"] {
    border-top: 4px solid var(--green);
}

.system-card > div {
    display: grid;
    gap: 1rem;
}

.system-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 2.5rem;
    border-radius: .5rem;
    padding: .625rem 1rem;
    background: var(--ink);
    color: var(--bg);
    font-weight: 500;
}

.system-card a:hover {
    text-decoration: none;
}

.blog-list {
    display: grid;
    width: 100%;
    border-top: 1px solid var(--line-soft);
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

.blog-filters {
    align-self: start;
}

.blog-filter-group + .blog-filter-group {
    margin-top: 1.75rem;
}

.blog-filter-group h3 {
    margin: 0 0 .75rem;
    color: var(--ink);
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.blog-filter-group nav {
    display: grid;
    gap: .4rem;
}

.blog-filter-group a {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    color: var(--muted);
    font-size: .875rem;
    font-weight: 500;
}

.blog-filter-group a:hover {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-filter-group a[data-active="true"] {
    color: var(--ink);
    font-weight: 700;
}

.blog-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .35rem .75rem;
    background: var(--surface);
    color: var(--muted);
    font-size: .875rem;
    font-weight: 500;
}

.blog-pagination a:hover {
    color: var(--ink);
    text-decoration: none;
}

.blog-pagination a[data-active="true"] {
    border-color: var(--indigo);
    background: var(--indigo);
    color: #ffffff;
}

.blog-card {
    display: grid;
    gap: .65rem;
    border-bottom: 1px solid var(--line-soft);
    padding: 1.5rem 0;
}

.blog-card__eyebrow {
    margin: 0;
    color: var(--indigo-strong);
    font-size: .875rem;
    font-weight: 500;
}

.blog-card__meta,
.blog-detail__meta {
    margin: 0;
    color: var(--subtle);
    font-size: .875rem;
    font-weight: 500;
}

.blog-detail__meta {
    margin-top: .75rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.detail-page .blog-tags {
    margin: .875rem 0 2rem;
}

.blog-tags span,
.blog-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    border-radius: 999px;
    padding: .25rem .75rem;
    background: color-mix(in srgb, var(--indigo) 9%, transparent);
    color: var(--indigo-strong);
    font-size: .8125rem;
    font-weight: 500;
}

.blog-tags a:hover {
    color: var(--ink);
    text-decoration: none;
}

.blog-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding-top: 1.5rem;
}

.blog-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
}

@media (min-width: 960px) {
    .blog-section[data-blog-mode="archive"] .blog-layout {
        grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
        align-items: start;
    }

    .blog-section[data-blog-mode="archive"] .blog-filters {
        position: sticky;
        top: 6rem;
    }

    .blog-filter-group a {
        justify-content: flex-start;
        width: 100%;
    }
}

.blog-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.blog-card a {
    width: fit-content;
    color: var(--indigo-strong);
    font-weight: 500;
}

.blog-card a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-body {
    margin-top: 2rem;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.blog-body :where(h2, h3, h4) {
    color: var(--ink);
    line-height: 1.2;
}

.blog-body :where(img, video) {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: .75rem;
}

.blog-body a {
    color: var(--indigo-strong);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.start-section {
    background: var(--bg);
}

.start-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 56rem;
}

.start-option {
    display: grid;
    gap: .5rem;
    padding: 1.5rem;
}

.start-option:hover {
    border-color: color-mix(in srgb, var(--indigo) 40%, var(--line-soft));
    text-decoration: none;
}

.start-option strong {
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.25;
}

.site-footer {
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem max(1rem, calc((100vw - 80rem) / 2 + 1rem));
    border-top: 1px solid var(--line-soft);
    color: var(--muted);
    font-size: .875rem;
}

.site-footer__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.details-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 1.875rem;
}

.details-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgb(17 24 39 / 86%);
    cursor: pointer;
}

.details-modal__panel {
    position: relative;
    width: min(100%, 56rem);
    max-height: calc(100vh - 3.75rem);
    overflow: auto;
    border-radius: 1rem;
    background: var(--surface);
    padding: 4rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 40%);
}

.details-modal__close {
    position: absolute;
    top: 1.125rem;
    right: 1.125rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--subtle);
    cursor: pointer;
}

.details-modal__close:hover {
    color: var(--ink);
}

.details-modal__category {
    margin: 0 0 .75rem;
    color: var(--indigo);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.details-modal h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.15;
}

.detail-page {
    max-width: 56rem;
    margin-inline: auto;
    padding-top: 4rem;
}

.detail-page[hidden] {
    display: none;
}

.detail-page h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.05;
}

.intake-modal__panel {
    width: min(100%, 42rem);
}

.intake-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.intake-form label {
    display: grid;
    gap: .4rem;
    color: var(--ink);
    font-size: .875rem;
    font-weight: 700;
}

.intake-form input,
.intake-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-weight: 400;
    line-height: 1.5;
    padding: .75rem .875rem;
}

.intake-form textarea {
    resize: vertical;
}

.intake-form input:focus,
.intake-form textarea:focus {
    border-color: var(--indigo);
    outline: 3px solid color-mix(in srgb, var(--indigo) 18%, transparent);
}

.intake-form__message,
.intake-form__captcha,
.intake-form__status,
.intake-form .button {
    grid-column: 1 / -1;
}

.intake-form__status {
    min-height: 1.35rem;
    margin: 0;
    color: var(--muted);
    font-size: .875rem;
    font-weight: 500;
}

.intake-form__trap {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.grecaptcha-badge {
    visibility: hidden;
}

.detail-page .details-modal__section h2 {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1.25rem;
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
}

.detail-page .details-modal__section h2 svg,
.detail-page .details-modal__steps svg {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.back-link {
    display: inline-flex;
    margin-bottom: 2rem;
    color: var(--indigo-strong);
    font-size: .875rem;
    font-weight: 500;
}

.details-modal__intro {
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.25rem;
    line-height: 1.6;
}

.details-modal__divider {
    height: 1px;
    margin: 1.75rem 0 2.5rem;
    background: var(--line-soft);
}

.details-modal__section + .details-modal__section {
    margin-top: 2.5rem;
}

.details-modal__section h3 {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 0 0 1.25rem;
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
}

.details-modal__section h3 svg,
.details-modal__steps svg {
    color: var(--indigo);
}

.details-modal__steps {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.details-modal__steps li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.5;
}

.details-modal__steps svg {
    margin-top: .125rem;
}

.details-modal__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.details-modal__features article {
    border: 1px solid var(--line);
    border-radius: .75rem;
    background: var(--surface-soft);
    padding: 1rem;
}

.details-modal__features h4 {
    margin: 0 0 .5rem;
    color: var(--ink);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0;
}

.details-modal__features p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.details-modal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    min-height: 3rem;
    margin-top: 4rem;
    border-radius: .5rem;
    background: var(--indigo);
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
}

.details-modal__cta:hover {
    background: var(--indigo-strong);
    text-decoration: none;
}

@media (max-width: 900px) {
    .site-header {
        align-items: center;
        height: 5rem;
        flex-wrap: nowrap;
        padding-block: 1rem;
    }

    main {
        padding-top: 5rem;
    }

    .site-nav {
        margin-left: auto;
    }

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

    .site-nav__links {
        display: none;
        position: fixed;
        top: 5rem;
        left: 0;
        right: 0;
        width: 100%;
        padding: .75rem max(1rem, calc((100vw - 80rem) / 2 + 1rem)) 1rem;
        border-bottom: 1px solid color-mix(in srgb, var(--line-soft) 72%, transparent);
        background: color-mix(in srgb, var(--bg) 94%, transparent);
        box-shadow: 0 1rem 2rem rgb(17 24 39 / 8%);
        backdrop-filter: blur(16px);
    }

    .site-header.nav-open .site-nav__links {
        display: grid;
        grid-template-columns: 1fr;
        gap: .75rem;
    }

    .site-header.nav-open .site-nav__links a,
    .site-header.nav-open .site-nav__links button {
        justify-content: flex-start;
        width: 100%;
        min-height: 3rem;
        padding: .75rem;
        font-size: 1rem;
    }

    .site-header.nav-open .site-nav__links .nav-cta {
        justify-content: center;
        margin-left: 0;
        margin-top: .5rem;
    }

    .card-grid,
    .system-list,
    .start-options,
    .details-modal__features {
        grid-template-columns: 1fr;
    }

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

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .details-modal {
        padding: 1rem;
    }

    .details-modal__panel {
        max-height: calc(100vh - 2rem);
        padding: 3.25rem 1.25rem 1.25rem;
    }
}

@media (max-width: 560px) {
    .site-nav {
        font-size: .8125rem;
    }

    .site-nav a {
        padding-inline: .625rem;
    }

    .site-nav .nav-cta {
        padding-inline: 1rem;
    }

    .hero {
        padding-block: 3rem 4rem;
    }

    .hero__intro,
    .details-modal__intro {
        font-size: 1.0625rem;
    }

    .button {
        width: 100%;
    }

    .card__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
    }

    .card__meta span:last-child {
        text-align: left;
    }
}
