:root {
    --ink: #172033;
    --ink-soft: #4f5b6e;
    --line: rgba(23, 32, 51, 0.1);
    --surface: #ffffff;
    --surface-soft: #f7f8fa;
    --page: #eef1f4;
    --accent: #1f2937;
    --shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    --content-width: 88rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", sans-serif;
    background: var(--page);
    color: var(--ink);
}

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

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

.site-shell {
    width: min(calc(100% - 2rem), var(--content-width));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 0;
}

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

.brand-logo {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    object-fit: cover;
}

.brand-copy p,
.brand-copy span,
.site-nav a,
.button,
.eyebrow,
.card-link,
.site-footer {
    text-transform: uppercase;
}

.brand-copy p {
    margin: 0;
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-size: clamp(1.35rem, 2vw, 2rem);
    line-height: 1;
    letter-spacing: 0.06em;
}

.brand-copy span {
    display: block;
    margin-top: 0.2rem;
    color: #6b7280;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.site-nav,
.header-actions,
.hero-actions,
.site-footer div {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.site-nav {
    gap: 1.4rem;
}

.site-nav a {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--ink-soft);
    transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.card-link:hover,
.card-link:focus-visible {
    color: var(--ink);
}

.site-nav a + a::before,
.site-footer div a + a::before,
.detail-nav a + a::before {
    content: "|";
    margin-right: 0.85rem;
    color: #9ca3af;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    padding: 0.8rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.85rem 1.2rem;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
    background: var(--accent);
    color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #111827;
}

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

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

.hero-section {
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(148, 163, 184, 0.16), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f4f6f8 58%, #eef1f4 100%);
}

.hero-grid,
.business-grid {
    display: grid;
    gap: 1.5rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    align-items: center;
    padding: 5rem 0 4rem;
}

.hero-copy {
    max-width: 40rem;
}

.eyebrow {
    margin: 0 0 1rem;
    color: #6b7280;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.hero-copy h1,
.panel-heading h2,
.section-intro h2,
.content-card h3,
.feature-item strong {
    margin: 0;
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    line-height: 0.95;
    letter-spacing: 0.04em;
    color: var(--ink);
}

.hero-copy h1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 14ch;
    font-size: clamp(3.2rem, 6vw, 5.8rem);
}

.hero-copy h1 span {
    display: block;
    white-space: nowrap;
}

.lede,
.section-intro p,
.feature-item p,
.card-summary,
.card-list {
    color: var(--ink-soft);
    line-height: 1.8;
}

.lede {
    max-width: 38rem;
    margin: 1.35rem 0 0;
    font-size: 1.04rem;
}

.hero-actions {
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-panel,
.content-card {
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 2rem;
}

.panel-heading h2,
.section-intro h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.hero-logo,
.card-logo,
.text-mark {
    border: 1px solid var(--line);
    background: var(--surface-soft);
}

.hero-logo {
    width: 100%;
    margin: 1.5rem 0;
    padding: 1rem;
}

.feature-list {
    display: grid;
    gap: 1rem;
}

.hero-panel-copy {
    margin: -0.25rem 0 1.25rem;
    color: var(--ink-soft);
    line-height: 1.8;
}

.hero-business-list {
    display: grid;
    gap: 1rem;
}

.hero-business-item {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.hero-business-item:hover,
.hero-business-item:focus-visible {
    border-color: rgba(23, 32, 51, 0.2);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.hero-business-logo {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    padding: 0.5rem;
}

.hero-business-body {
    min-width: 0;
}

.hero-business-status {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-business-body strong {
    display: block;
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-size: 1.7rem;
    line-height: 0.95;
    letter-spacing: 0.04em;
}

.hero-business-body p {
    margin: 0.6rem 0 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.feature-item {
    padding: 1rem;
    border: 1px solid var(--line);
    background: var(--surface-soft);
}

.feature-item strong {
    font-size: 1.9rem;
}

.feature-item p {
    margin: 0.45rem 0 0;
    font-size: 0.95rem;
}

.content-section {
    background: var(--page);
}

.content-section .site-shell {
    padding: 4rem 0;
}

.section-intro {
    max-width: 52rem;
}

.section-intro p {
    margin-top: 1rem;
}

.business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2.25rem;
}

.content-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 2rem;
}

.card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.card-logo {
    width: min(15rem, 48%);
    height: 15rem;
    padding: 1rem;
    object-fit: contain;
}

.text-mark {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: min(15rem, 48%);
    min-height: 13.25rem;
    padding: 1rem;
}

.text-mark span:first-child {
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-size: 3rem;
    line-height: 0.9;
    letter-spacing: 0.08em;
}

.text-mark span:last-child {
    margin-top: 0.2rem;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.content-card h3 {
    margin-top: 1.5rem;
    max-width: 12ch;
    font-size: 2rem;
    min-height: 3.1em;
    display: flex;
    align-items: flex-start;
}

.card-summary {
    margin: 0.9rem 0 0;
}

.card-list {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
}

.card-list li + li {
    margin-top: 0.5rem;
}

.card-link {
    margin-top: auto;
    padding-top: 1.6rem;
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
    color: #6b7280;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
}

.site-footer .site-shell {
    padding: 1.6rem 0;
}

.detail-hero-section .hero-grid {
    min-height: calc(100svh - 104px);
}

.detail-nav {
    display: flex;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 420ms ease, transform 420ms ease;
    transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .header-actions {
        display: none;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        padding: 0 0 1rem;
    }

    .site-nav a + a::before,
    .site-footer div a + a::before,
    .detail-nav a + a::before {
        content: none;
        margin-right: 0;
    }

    .site-nav.is-open,
    .detail-nav {
        display: flex;
    }

    .header-inner,
    .footer-inner {
        flex-wrap: wrap;
    }

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

    .hero-business-item {
        grid-template-columns: 1fr;
    }

    .hero-business-logo {
        max-width: 140px;
    }

    .hero-grid {
        padding: 3rem 0;
    }

    .brand-logo {
        width: 3.5rem;
        height: 3.5rem;
    }

    .content-section .site-shell {
        padding: 3rem 0;
    }
}

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .button,
    .site-nav a,
    .card-link {
        transition: none;
    }
}
