/* zdenekblaha.cz – main stylesheet. No framework, no build step. */

/* ---------- Tokens ---------- */
:root {
    --blue-800: #134a7e;
    --blue-700: #1b64a8;
    --blue-600: #1f6fb8;
    --blue-500: #2a7bc8;
    --blue-400: #4a9ae0;
    --blue-100: #dcebfa;
    --blue-50: #eef5fc;

    --bg: #ffffff;
    --bg-soft: #f5f8fc;
    --surface: #ffffff;
    --ink: #16212e;
    --ink-2: #334155;
    --muted: #5b6878;
    --line: #e2e8f0;
    --accent: var(--blue-600);
    --accent-strong: var(--blue-700);
    --accent-soft: var(--blue-50);
    --success: #177245;
    --success-bg: #e9f7ef;
    --danger: #b42318;
    --danger-bg: #fdecea;

    --band-from: #1b64a8;
    --band-mid: #2574c0;
    --band-to: #4a9ae0;
    --on-band: #ffffff;
    --on-band-muted: rgba(255, 255, 255, 0.9);

    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(22, 33, 46, 0.04), 0 4px 16px rgba(22, 33, 46, 0.06);
    --shadow-lg: 0 2px 4px rgba(22, 33, 46, 0.04), 0 12px 32px rgba(22, 33, 46, 0.1);

    --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    --container: 1120px;
    --gutter: clamp(16px, 4vw, 32px);

    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0e141b;
        --bg-soft: #121a23;
        --surface: #16202b;
        --ink: #e6edf5;
        --ink-2: #c7d2de;
        --muted: #9aabbd;
        --line: #243242;
        --accent: #6cb2f0;
        --accent-strong: #8cc4f5;
        --accent-soft: #172c42;
        --success: #6fd49c;
        --success-bg: #11291d;
        --danger: #ff9b91;
        --danger-bg: #2e1512;

        --band-from: #123a63;
        --band-mid: #174d83;
        --band-to: #22649f;

        --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.4);
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 1.0625rem/1.65 var(--font);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h1,
h2,
h3 {
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 0.6em;
}

h1 {
    font-size: clamp(2rem, 4.6vw, 3.25rem);
    font-weight: 750;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
}

h3,
.h3 {
    font-size: 1.15rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--accent);
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
}

a:hover {
    color: var(--accent-strong);
}

:focus-visible {
    outline: 3px solid var(--blue-400);
    outline-offset: 2px;
    border-radius: 4px;
}

img {
    max-width: 100%;
    height: auto;
}

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

.icon {
    flex: none;
    width: 1.15em;
    height: 1.15em;
    vertical-align: -0.2em;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.narrow {
    max-width: 760px;
}

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

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 100;
    background: var(--surface);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.skip-link:focus {
    top: 12px;
}

/* ---------- Non-production banner ---------- */
.env-banner {
    position: relative;
    z-index: 60;
    padding: 6px 16px;
    background: repeating-linear-gradient(135deg, #b45309 0 14px, #c2620f 14px 28px);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.8em 1.35em;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

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

.btn:active {
    transform: none;
}

.btn .icon-arrow {
    transition: transform 0.15s;
}

.btn:hover .icon-arrow {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--blue-600);
    color: #fff;
    box-shadow: 0 1px 2px rgba(31, 111, 184, 0.3);
}

.btn-primary:hover {
    background: var(--blue-700);
    color: #fff;
}

.btn-secondary {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.btn-secondary:hover {
    background: var(--blue-100);
    color: var(--blue-800);
}

@media (prefers-color-scheme: dark) {
    .btn-secondary:hover {
        background: #1d3a57;
        color: var(--accent-strong);
    }
}

.btn-light {
    background: #fff;
    color: var(--blue-700);
    box-shadow: 0 2px 8px rgba(10, 40, 80, 0.18);
}

.btn-light:hover {
    background: #fff;
    color: var(--blue-800);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.btn-block {
    width: 100%;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2rem;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}

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

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

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

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
    color: #fff;
    font-weight: 750;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.8rem;
}

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

.site-nav ul {
    display: flex;
    gap: 4px;
    list-style: none;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--ink-2);
    font-size: 0.97rem;
    font-weight: 500;
    text-decoration: none;
}

.site-nav a:hover {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.site-nav a[aria-current="page"] {
    color: var(--accent);
    background: var(--accent-soft);
}

.site-nav .lang-switch {
    margin-left: 8px;
    border: 1px solid var(--line);
    font-size: 0.88rem;
    font-weight: 600;
}

/* Contact is the main goal of the site, so it stands out as a button. */
.site-nav a.nav-cta {
    background: var(--blue-600);
    color: #fff;
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta[aria-current="page"] {
    background: var(--blue-700);
    color: #fff;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: 0.95rem;
    cursor: pointer;
}

@media (max-width: 820px) {
    .brand-text small {
        display: none;
    }

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

    .site-nav {
        flex-wrap: wrap;
    }

    .js .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px var(--gutter) 20px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
    }

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

    .js .site-nav ul {
        flex-direction: column;
    }

    .js .site-nav a {
        padding: 12px 14px;
        font-size: 1.05rem;
    }

    .js .site-nav .lang-switch {
        margin: 8px 0 0;
        align-self: flex-start;
    }

    .no-js .header-inner {
        flex-wrap: wrap;
        padding-bottom: 8px;
    }
}

/* ---------- Blue band (hero) ---------- */
.band {
    position: relative;
    overflow: hidden;
    color: var(--on-band);
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(255, 255, 255, 0.22), transparent 60%),
        radial-gradient(600px 300px at 100% 110%, rgba(255, 255, 255, 0.12), transparent 60%),
        linear-gradient(115deg, var(--band-from) 0%, var(--band-mid) 45%, var(--band-to) 100%);
}

/* subtle dotted texture on the right side for a lighter feel */
.band::after {
    content: "";
    position: absolute;
    inset: 0 0 0 55%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1.2px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
    mask-image: linear-gradient(90deg, transparent, #000 70%);
    pointer-events: none;
}

.band .container {
    position: relative;
    z-index: 1;
}

.band h1 {
    color: var(--on-band);
    max-width: 20ch;
}

.band .lead {
    color: var(--on-band-muted);
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    max-width: 60ch;
    margin: 0;
}

.band a:not(.btn) {
    color: #fff;
}

.band-hero {
    padding: clamp(56px, 8vw, 96px) 0 clamp(88px, 10vw, 128px);
}

.band-page {
    padding: clamp(44px, 6vw, 72px) 0;
}

.band-page h1 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    margin-bottom: 0.35em;
}

.hero-person {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-person img {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 14px rgba(10, 40, 80, 0.25);
    object-fit: cover;
}

.hero-person p {
    margin: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.hero-person strong {
    font-size: 1.05rem;
}

.hero-person span {
    color: var(--on-band-muted);
    font-size: 0.93rem;
}

.error-code {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

/* ---------- Facts strip (overlaps the hero) ---------- */
.facts {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: -52px;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.facts li {
    display: flex;
    flex-direction: column;
    padding: 22px 28px;
}

.facts li + li {
    border-left: 1px solid var(--line);
}

.facts strong {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    color: var(--accent);
    line-height: 1.1;
}

.facts span {
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 640px) {
    .facts {
        grid-template-columns: 1fr;
    }

    .facts li {
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
        padding: 14px 20px;
    }

    .facts li + li {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .facts strong {
        min-width: 3.6em;
        font-size: 1.4rem;
    }
}

/* ---------- Sections ---------- */
.section {
    padding: clamp(56px, 8vw, 96px) 0;
}

.section-soft {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* Short "who I work for" note under the services on the home page. */
.fit {
    max-width: 760px;
    margin-top: clamp(32px, 5vw, 48px);
}

.fit p {
    color: var(--ink-2);
    font-size: 1.05rem;
}

.terms-note {
    margin-top: 24px;
    color: var(--muted);
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 1.6rem;
}

.section-head h2 {
    margin: 0;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    text-decoration: none;
}

.lead-dark {
    font-size: 1.1rem;
    color: var(--ink-2);
}

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

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 72px);
}

@media (max-width: 860px) {
    .split {
        grid-template-columns: 1fr;
    }
}

/* ---------- Cards ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 28px);
    box-shadow: var(--shadow);
}

.card > :last-child {
    margin-bottom: 0;
}

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

.service {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.service:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-100);
}

.service-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
}

.service-icon .icon {
    width: 24px;
    height: 24px;
}

.service h3,
.service .h3 {
    margin-bottom: 0.45em;
}

.project h3 {
    margin-bottom: 0.2em;
}

.project .project-role {
    color: var(--accent);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.8em;
}

.card .project-result {
    color: var(--ink-2);
}

.project {
    display: flex;
    flex-direction: column;
}

.project .tags {
    margin-top: auto;
    padding-top: 6px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
}

.tags li {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.82rem;
    font-weight: 500;
}

.checklist {
    list-style: none;
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--ink-2);
}

.checklist .icon {
    color: var(--accent);
    margin-top: 0.25em;
}

/* ---------- Steps ---------- */
.steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 28px;
    margin-top: 1.8rem;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding-top: 56px;
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--blue-400);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.steps li::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 52px;
    right: -16px;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-100), transparent);
}

.steps li:last-child::after {
    display: none;
}

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

/* ---------- CTA ---------- */
.section-cta {
    padding-top: 0;
}

.section-soft + .section-cta {
    padding-top: clamp(56px, 8vw, 96px);
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    flex-wrap: wrap;
    padding: clamp(28px, 4vw, 44px);
    border-radius: calc(var(--radius) + 4px);
    background: linear-gradient(120deg, var(--accent-soft), color-mix(in srgb, var(--accent-soft) 40%, var(--bg)));
    border: 1px solid var(--blue-100);
}

@media (prefers-color-scheme: dark) {
    .cta {
        border-color: var(--line);
    }
}

.cta h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    margin-bottom: 0.3em;
}

.cta p {
    color: var(--muted);
    margin: 0;
    max-width: 52ch;
}

/* ---------- Services page ---------- */
.stack {
    display: grid;
    gap: 16px;
    margin: 0;
}

.stack dt {
    font-weight: 600;
    margin-bottom: 6px;
}

.stack dd {
    margin: 0;
}

/* ---------- About ---------- */
.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.about-main h2 {
    margin-top: 2rem;
}

.about-side {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 92px;
}

.about-side .card p {
    margin-bottom: 0.75rem;
}

.about-person {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-person picture {
    display: block;
    flex-shrink: 0;
}

.about-person img {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}

.about-side .about-person p {
    display: flex;
    flex-direction: column;
    margin: 0;
    line-height: 1.35;
}

.about-person strong {
    color: var(--ink);
}

@media (max-width: 900px) {
    .about {
        grid-template-columns: 1fr;
    }

    .about-side {
        position: static;
    }
}

.timeline {
    list-style: none;
    position: relative;
    margin-top: 1.2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--line);
}

.timeline li {
    position: relative;
    padding: 0 0 26px 36px;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--surface);
    border: 3px solid var(--blue-400);
}

.timeline li:first-child::before {
    background: var(--blue-600);
    border-color: var(--blue-100);
}

.timeline-period {
    margin: 0 0 2px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
}

.timeline h3 {
    margin-bottom: 0.3em;
}

.timeline p:last-child {
    color: var(--muted);
    margin: 0;
}

.languages {
    margin: 0;
    display: grid;
    gap: 8px;
}

.languages div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 8px;
}

.languages div:last-child {
    border: 0;
    padding: 0;
}

.languages dt {
    font-weight: 500;
}

.languages dd {
    margin: 0;
    color: var(--muted);
    text-align: right;
}

/* ---------- Contact ---------- */
.contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

.contact-side {
    display: grid;
    gap: 20px;
}

@media (max-width: 900px) {
    .contact {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    scroll-margin-top: 90px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.field input,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--line) 60%, var(--muted));
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--ink);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

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

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue-400) 25%, transparent);
}

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

.field-error,
.card .field-error {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0;
    color: var(--danger);
    font-size: 0.9rem;
}

.hp {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-note {
    font-size: 0.9rem;
}

.field-hint,
.card .field-hint {
    margin: 6px 0 0;
    font-size: 0.9rem;
}

.notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.notice p {
    margin: 0;
    color: inherit;
}

.notice .icon {
    width: 22px;
    height: 22px;
    margin-top: 1px;
}

.notice-success {
    background: var(--success-bg);
    color: var(--success);
}

.notice-success p + p {
    color: var(--ink-2);
}

.notice-error {
    background: var(--danger-bg);
    color: var(--danger);
}

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

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

.contact-list > li > .icon {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
}

.contact-list span {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    min-width: 0;
}

.contact-list small {
    color: var(--muted);
    font-size: 0.82rem;
}

.contact-list a {
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.billing {
    margin: 0;
    display: grid;
    gap: 10px;
}

.billing dt {
    color: var(--muted);
    font-size: 0.85rem;
}

.billing dd {
    margin: 0;
    font-weight: 500;
}

/* ---------- Prose (privacy) ---------- */
.prose h2 {
    margin-top: 1.8rem;
}

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

.prose p {
    color: var(--ink-2);
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: auto;
    padding: 32px 0;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    font-size: 0.92rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px 32px;
    flex-wrap: wrap;
}

.footer-id p {
    margin: 0;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-2);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ---------- Print ---------- */
@media print {
    .site-header,
    .site-footer,
    .cta,
    .actions,
    .nav-toggle {
        display: none !important;
    }

    .band {
        background: none;
        color: #000;
    }

    .band h1,
    .band .lead {
        color: #000;
    }
}
