/* ==========================================================================
   Prime Summa — Static Marketing Site
   Design system extracted from the Prime Summa marketing palette.
   ========================================================================== */

:root {
    --obsidian: #070b12;
    --obsidian-soft: #0d1421;
    --cream: #f7f3ea;
    --slate: #a7b0c0;
    --gold: #d6a94f;
    --gold-soft: #f0d48a;
    --sky: #5c8dff;
    --mint: #43d19e;
    --onyx: #05070b;

    --line: rgba(255, 255, 255, 0.14);
    --line-soft: rgba(255, 255, 255, 0.08);
    --surface: rgba(255, 255, 255, 0.055);
    --surface-strong: rgba(255, 255, 255, 0.075);

    --shell: 1160px;
    --radius-lg: 34px;
    --radius-md: 30px;
    --radius-sm: 18px;

    --font-sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system,
        'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--obsidian);
    background-image:
        radial-gradient(circle at 15% -10%, rgba(92, 141, 255, 0.32), transparent 34rem),
        radial-gradient(circle at 86% 8%, rgba(214, 169, 79, 0.22), transparent 30rem),
        radial-gradient(circle at 45% 105%, rgba(67, 209, 158, 0.16), transparent 34rem);
    background-attachment: fixed;
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 800;
    color: var(--cream);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

p {
    margin: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 34px 0;
}

::selection {
    background: rgba(214, 169, 79, 0.32);
    color: var(--cream);
}

:focus-visible {
    outline: 2px solid var(--gold-soft);
    outline-offset: 3px;
    border-radius: 6px;
}

/* --------------------------------------------------------------- layout -- */

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: 18px;
}

@media (min-width: 640px) {
    .shell {
        padding-inline: 24px;
    }
}

.section {
    padding-block: 62px;
}

@media (min-width: 900px) {
    .section {
        padding-block: 78px;
    }
}

.section--tight {
    padding-block: 44px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--gold-soft);
    color: var(--onyx);
    padding: 12px 20px;
    font-weight: 800;
    border-radius: 0 0 12px 0;
}

.skip-link:focus {
    left: 0;
}

/* --------------------------------------------------------------- header -- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 11, 18, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 74px;
}

@media (min-width: 640px) {
    .site-header__bar {
        min-height: 80px;
    }
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand__mark {
    height: 38px;
    width: auto;
}

.brand__full {
    display: none;
    height: 46px;
    width: auto;
}

@media (min-width: 640px) {
    .brand__mark { display: none; }
    .brand__full { display: block; }
}

.primary-nav {
    display: none;
}

@media (min-width: 1080px) {
    .primary-nav {
        display: flex;
        align-items: center;
        gap: 4px;
    }
}

.nav-item {
    position: relative;
}

.nav-link,
.nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    color: var(--slate);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-link:hover,
.nav-toggle:hover,
.nav-toggle[aria-expanded='true'] {
    color: var(--cream);
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-current {
    color: var(--cream);
}

.nav-toggle__chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.18s ease;
    opacity: 0.7;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__chevron {
    transform: rotate(180deg);
}

.nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 268px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #0b111c;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
    display: none;
}

.nav-panel[data-open='true'] {
    display: block;
}

.nav-panel a {
    display: block;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--slate);
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-panel a:hover {
    color: var(--cream);
    background: rgba(255, 255, 255, 0.07);
}

.nav-panel a span {
    display: block;
    margin-top: 2px;
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(167, 176, 192, 0.66);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--cream);
    cursor: pointer;
}

@media (min-width: 1080px) {
    .menu-button { display: none; }
}

.menu-button svg {
    width: 20px;
    height: 20px;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--line);
    background: var(--obsidian-soft);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
}

.mobile-nav[data-open='true'] {
    display: block;
}

@media (min-width: 1080px) {
    .mobile-nav[data-open='true'] { display: none; }
}

.mobile-nav__inner {
    padding-block: 16px 26px;
}

.mobile-group + .mobile-group {
    border-top: 1px solid var(--line-soft);
}

.mobile-group__label {
    display: block;
    padding: 16px 4px 8px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.mobile-group a {
    display: block;
    padding: 10px 4px;
    color: var(--slate);
    font-size: 0.95rem;
    font-weight: 700;
}

.mobile-group a:hover {
    color: var(--cream);
}

/* -------------------------------------------------------------- buttons -- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease,
        background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background-image: linear-gradient(135deg, #f0d48a, #d6a94f);
    color: var(--onyx);
    box-shadow: 0 18px 42px rgba(214, 169, 79, 0.22);
}

.btn--primary:hover {
    box-shadow: 0 22px 52px rgba(214, 169, 79, 0.3);
}

.btn--secondary {
    border-color: var(--line);
    background: var(--surface);
    color: var(--cream);
}

.btn--secondary:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.09);
}

.btn--onyx {
    background: var(--onyx);
    color: var(--cream);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* --------------------------------------------------------------- typography */

.eyebrow {
    display: block;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--mint);
    box-shadow: 0 0 0 6px rgba(67, 209, 158, 0.14);
}

.display {
    font-size: clamp(2.5rem, 8vw, 5.6rem);
    line-height: 0.94;
    letter-spacing: -0.075em;
    max-width: 15ch;
}

.title-xl {
    font-size: clamp(2rem, 4.2vw, 3.5rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.title-lg {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.title-md {
    font-size: 1.3rem;
    letter-spacing: -0.035em;
}

.title-sm {
    font-size: 1.06rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background-image: linear-gradient(135deg, #f7f3ea, #f0d48a 48%, #43d19e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lede {
    font-size: 1.06rem;
    line-height: 1.75;
    color: var(--slate);
    max-width: 65ch;
}

@media (min-width: 900px) {
    .lede { font-size: 1.16rem; }
}

.body-text {
    line-height: 1.72;
    color: var(--slate);
    max-width: 72ch;
}

.muted {
    color: var(--slate);
}

.fineprint {
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(167, 176, 192, 0.78);
}

.stack > * + * {
    margin-top: 16px;
}

.stack-lg > * + * {
    margin-top: 26px;
}

/* ------------------------------------------------------------ page hero -- */

.page-hero {
    padding-block: 54px 44px;
    border-bottom: 1px solid var(--line-soft);
}

@media (min-width: 900px) {
    .page-hero {
        padding-block: 76px 60px;
    }
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(167, 176, 192, 0.72);
    list-style: none;
}

.breadcrumb a:hover {
    color: var(--cream);
}

.breadcrumb li::after {
    content: '/';
    margin-left: 8px;
    opacity: 0.4;
}

.breadcrumb li:last-child::after {
    content: '';
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
}

/* ---------------------------------------------------------------- grids -- */

.grid {
    display: grid;
    gap: 18px;
}

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 700px) {
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.split {
    display: grid;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1000px) {
    .split {
        grid-template-columns: 1fr 1fr;
        gap: 58px;
    }
    .split--wide {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
}

@media (min-width: 1000px) {
    .section-head {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 40px;
    }
}

.section-head__intro {
    max-width: 430px;
    font-weight: 600;
    line-height: 1.7;
    color: var(--slate);
}

.section-head h2 {
    margin-top: 10px;
    max-width: 22ch;
}

/* ---------------------------------------------------------------- cards -- */

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    padding: 28px;
}

.card--pad-lg {
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--radius-lg);
}

.card--soft {
    background: rgba(255, 255, 255, 0.045);
}

.card h3 {
    margin-bottom: 12px;
}

.card p {
    line-height: 1.72;
    color: var(--slate);
}

.card__badge {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: var(--radius-sm);
    background-image: linear-gradient(135deg, #f0d48a, #d6a94f);
    color: var(--onyx);
    font-weight: 900;
    font-size: 1.02rem;
    letter-spacing: -0.02em;
}

.card__index {
    display: block;
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--gold-soft);
}

.card-link:hover {
    color: var(--cream);
}

.card-link::after {
    content: '→';
}

a.card {
    display: block;
    transition: border-color 0.15s ease, background-color 0.15s ease,
        transform 0.15s ease;
}

a.card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Seamless bordered panel grid (hairline dividers). */
.panel-grid {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: var(--line);
}

.panel-grid > * {
    background: rgba(255, 255, 255, 0.06);
    padding: clamp(26px, 4vw, 40px);
}

@media (min-width: 700px) {
    .panel-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
    .panel-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .panel-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 700px) and (max-width: 999px) {
    .panel-grid--3,
    .panel-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

.panel-grid h3 {
    margin: 16px 0 10px;
    font-size: 1.3rem;
    letter-spacing: -0.04em;
}

.panel-grid p {
    line-height: 1.7;
    color: var(--slate);
}

/* ---------------------------------------------------------------- stats -- */

.stat-grid {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: var(--line);
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
    .stat-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat {
    background: rgba(255, 255, 255, 0.055);
    padding: clamp(24px, 3.4vw, 38px);
}

.stat__value {
    display: block;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    background-image: linear-gradient(135deg, #f7f3ea, #f0d48a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat__label {
    display: block;
    margin-top: 12px;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--slate);
}

/* ------------------------------------------------------------- feature -- */

.feature-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    line-height: 1.7;
    color: var(--slate);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--mint);
    box-shadow: 0 0 0 4px rgba(67, 209, 158, 0.14);
}

.feature-list strong {
    color: var(--cream);
    font-weight: 800;
}

.check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--slate);
}

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

.check-row span::before {
    content: '✓';
    color: var(--mint);
    font-weight: 900;
}

/* ------------------------------------------------------------- showcase -- */

.showcase {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    padding: 18px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.showcase::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: var(--radius-lg);
    background-image: linear-gradient(135deg, rgba(214, 169, 79, 0.34), rgba(92, 141, 255, 0.2), rgba(67, 209, 158, 0.24));
    opacity: 0.72;
    filter: blur(22px);
}

.showcase__frame {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 26px;
    background: #070a10;
}

.showcase__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 800;
}

.showcase__dots {
    display: flex;
    gap: 7px;
}

.showcase__dots span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
}

.showcase__body {
    padding: 22px;
}

.showcase__hero-tile {
    border-radius: 24px;
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.07);
    background-image: linear-gradient(135deg, rgba(92, 141, 255, 0.24), rgba(214, 169, 79, 0.18));
}

.showcase__label {
    font-size: 0.86rem;
    font-weight: 800;
    color: var(--slate);
}

.showcase__pair {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    align-items: center;
}

@media (min-width: 520px) {
    .showcase__pair {
        grid-template-columns: 1fr auto 1fr;
    }
}

.showcase__cell {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    padding: 18px;
}

.showcase__cell span {
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--slate);
}

.showcase__cell strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(1.3rem, 3vw, 1.85rem);
    letter-spacing: -0.05em;
}

.showcase__arrow {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--gold-soft);
    transform: rotate(90deg);
}

@media (min-width: 520px) {
    .showcase__arrow { transform: none; }
}

.showcase__mini {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    grid-template-columns: repeat(3, 1fr);
}

.showcase__mini div {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    padding: 14px;
}

.showcase__mini span {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--slate);
}

.showcase__mini strong {
    display: block;
    margin-top: 6px;
    font-size: 1rem;
}

.showcase__chart {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    height: 112px;
    margin-top: 14px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.045);
}

.showcase__chart span {
    flex: 1;
    min-width: 14px;
    border-radius: 999px 999px 7px 7px;
    background-image: linear-gradient(180deg, #43d19e, #d6a94f);
}

/* ------------------------------------------------------------ quote/cta -- */

.quote-panel {
    border-radius: var(--radius-lg);
    background-image: linear-gradient(135deg, #f0d48a, #d6a94f);
    color: var(--onyx);
    padding: clamp(30px, 5vw, 50px);
}

.quote-panel blockquote {
    margin: 0;
    font-size: clamp(1.6rem, 2.8vw, 2.6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.055em;
}

.quote-panel cite {
    display: block;
    margin-top: 26px;
    font-style: normal;
    font-weight: 800;
    color: rgba(5, 7, 11, 0.7);
}

.cta-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background-color: var(--surface-strong);
    background-image: radial-gradient(circle at top right, rgba(92, 141, 255, 0.2), transparent 20rem);
    padding: clamp(30px, 5vw, 50px);
}

.cta-band {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.05);
    background-image: radial-gradient(circle at 20% 0%, rgba(214, 169, 79, 0.18), transparent 26rem),
        radial-gradient(circle at 90% 100%, rgba(67, 209, 158, 0.14), transparent 24rem);
    padding: clamp(32px, 5vw, 56px);
    text-align: center;
}

.cta-band .btn-row {
    justify-content: center;
}

.cta-band p {
    margin-inline: auto;
}

/* ------------------------------------------------------------- articles -- */

.article-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.article-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.article-card__visual {
    height: 168px;
    display: grid;
    place-items: center;
    border-bottom: 1px solid var(--line-soft);
    background-image: linear-gradient(135deg, rgba(92, 141, 255, 0.26), rgba(214, 169, 79, 0.2));
    color: rgba(247, 243, 234, 0.55);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.article-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.article-card__meta span:not(:first-child) {
    color: rgba(167, 176, 192, 0.7);
}

.article-card h3 {
    font-size: 1.16rem;
    letter-spacing: -0.03em;
    line-height: 1.28;
}

.article-card p {
    color: var(--slate);
    line-height: 1.65;
    font-size: 0.94rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tag {
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--slate);
}

/* ---------------------------------------------------------------- lists -- */

.link-list {
    list-style: none;
    display: grid;
    gap: 1px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--line);
    overflow: hidden;
}

.link-list li {
    background: rgba(255, 255, 255, 0.055);
}

.link-list a,
.link-list > li > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 24px;
    font-weight: 700;
}

.link-list a:hover {
    background: rgba(255, 255, 255, 0.09);
}

.link-list__meta {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(167, 176, 192, 0.75);
}

/* ------------------------------------------------------------ accordion -- */

.faq-item {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    padding: 4px 24px;
    transition: border-color 0.15s ease;
}

.faq-item + .faq-item {
    margin-top: 12px;
}

.faq-item[open] {
    border-color: rgba(255, 255, 255, 0.26);
    background: var(--surface-strong);
}

.faq-item summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0;
    list-style: none;
    cursor: pointer;
    font-size: 1.04rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--cream);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold-soft);
}

.faq-item[open] summary::after {
    content: '–';
}

.faq-item__body {
    padding-bottom: 22px;
    line-height: 1.72;
    color: var(--slate);
}

.faq-item__body p + p {
    margin-top: 12px;
}

/* ---------------------------------------------------------------- prose -- */

.prose {
    max-width: 78ch;
}

.prose h2 {
    margin-top: 46px;
    margin-bottom: 16px;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    letter-spacing: -0.04em;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    letter-spacing: -0.025em;
}

.prose p {
    margin-top: 14px;
    line-height: 1.78;
    color: var(--slate);
}

.prose ul,
.prose ol {
    margin-top: 16px;
    padding-left: 22px;
    display: grid;
    gap: 10px;
    color: var(--slate);
    line-height: 1.7;
}

.prose li::marker {
    color: var(--gold);
}

.prose strong {
    color: var(--cream);
    font-weight: 800;
}

.prose a {
    color: var(--gold-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose a:hover {
    color: var(--cream);
}

.legal-note {
    margin-top: 44px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.045);
}

.legal-note p {
    font-size: 0.86rem;
    line-height: 1.7;
    color: rgba(167, 176, 192, 0.82);
}

.legal-note p + p {
    margin-top: 10px;
}

.toc {
    position: sticky;
    top: 104px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.045);
    padding: 22px;
}

.toc h2 {
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 14px;
}

.toc ul {
    list-style: none;
    display: grid;
    gap: 9px;
}

.toc a {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--slate);
    line-height: 1.45;
}

.toc a:hover {
    color: var(--cream);
}

.legal-layout {
    display: grid;
    gap: 40px;
}

@media (min-width: 1000px) {
    .legal-layout {
        grid-template-columns: 260px 1fr;
        gap: 56px;
        align-items: start;
    }
}

/* ---------------------------------------------------------------- table -- */

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 22px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

th, td {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.92rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--line-soft);
}

th {
    font-weight: 800;
    color: var(--cream);
    background: rgba(255, 255, 255, 0.06);
    letter-spacing: -0.01em;
}

td {
    color: var(--slate);
}

tbody tr:last-child td {
    border-bottom: 0;
}

/* -------------------------------------------------------------- contact -- */

.contact-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    padding: 28px;
}

.contact-card .eyebrow {
    margin-bottom: 12px;
}

.contact-card a[href^='mailto'] {
    display: inline-block;
    margin-top: 14px;
    font-weight: 800;
    color: var(--gold-soft);
    word-break: break-word;
}

.contact-card a[href^='mailto']:hover {
    color: var(--cream);
}

.map-placeholder {
    display: grid;
    place-items: center;
    min-height: 300px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.04);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(214, 169, 79, 0.16), transparent 18rem);
    background-size: 46px 46px, 46px 46px, 100% 100%;
    text-align: center;
    padding: 30px;
}

.map-placeholder span {
    display: block;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.map-placeholder strong {
    display: block;
    margin-top: 12px;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}

.map-placeholder p {
    margin-top: 8px;
    color: var(--slate);
    font-size: 0.94rem;
}

/* ------------------------------------------------------------- people ---- */

.person {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    padding: 26px;
}

.person__avatar {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin-bottom: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background-image: linear-gradient(135deg, rgba(240, 212, 138, 0.3), rgba(92, 141, 255, 0.24));
    font-size: 1.06rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--cream);
}

.person h3 {
    font-size: 1.12rem;
    letter-spacing: -0.03em;
}

.person__role {
    margin-top: 6px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.person p {
    margin-top: 14px;
    font-size: 0.94rem;
    line-height: 1.68;
    color: var(--slate);
}

/* -------------------------------------------------------------- footer --- */

.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 40px;
    padding-block: 56px 34px;
    background: rgba(5, 7, 11, 0.42);
}

.footer-top {
    display: grid;
    gap: 40px;
}

@media (min-width: 900px) {
    .footer-top {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 44px;
    }
}

.footer-brand img {
    height: 44px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 42ch;
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--slate);
}

.footer-col h2 {
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.footer-col a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--slate);
}

.footer-col a:hover {
    color: var(--cream);
}

.footer-legal-row {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
}

.footer-legal-row a {
    font-size: 0.84rem;
    font-weight: 700;
    color: rgba(167, 176, 192, 0.82);
}

.footer-legal-row a:hover {
    color: var(--cream);
}

.footer-disclaimer {
    margin-top: 26px;
    font-size: 0.8rem;
    line-height: 1.7;
    color: rgba(167, 176, 192, 0.66);
    max-width: 100ch;
}

.footer-disclaimer p + p {
    margin-top: 10px;
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(167, 176, 192, 0.8);
}

.social-row {
    display: flex;
    gap: 10px;
    list-style: none;
}

.social-row a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--slate);
}

.social-row a:hover {
    color: var(--cream);
    border-color: rgba(255, 255, 255, 0.28);
}

/* ------------------------------------------------------------ utilities -- */

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 22px; }
.mt-lg { margin-top: 34px; }
.mb-md { margin-bottom: 22px; }
.mb-lg { margin-bottom: 34px; }
.center-copy { margin-inline: auto; text-align: center; }

.notice {
    border: 1px solid rgba(214, 169, 79, 0.34);
    border-radius: 20px;
    background: rgba(214, 169, 79, 0.08);
    padding: 20px 24px;
}

.notice p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(247, 243, 234, 0.86);
}

.notice strong {
    color: var(--gold-soft);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .site-header,
    .site-footer,
    .cta-band,
    .cta-panel {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}
