/* Plain HTML pages under /services/ and /work/ (no Blazor), so search engines read them directly.
   Same look as the Blazor site: ink background, gold accent, Bricolage Grotesque + Inter. */
:root {
    --ink: #06070b;
    --ink-2: #0b0d14;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #eef0f7;
    --muted: #9aa1b5;
    --dim: #6b7286;
    --gold: #f5c84b;
    --c: var(--gold);
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    background: radial-gradient(1200px 600px at 80% -10%, rgba(124, 92, 255, 0.12), transparent 60%), var(--ink);
    color: var(--text);
    font: 400 1.0625rem/1.65 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: var(--c); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* header */
.top {
    position: sticky;
    top: 0;
    z-index: 5;
    backdrop-filter: blur(12px);
    background: rgba(6, 7, 11, 0.72);
    border-bottom: 1px solid var(--line);
}

.top .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.brand:hover { text-decoration: none; }

.nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.95rem; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .cta {
    color: var(--ink);
    background: var(--text);
    padding: 7px 16px;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
}

.brand { min-width: 0; }

@media (max-width: 640px) {
    .brand { font-size: 0.95rem; }
    .nav a:not(.cta) { display: none; }
}

/* content */
main { padding: clamp(40px, 7vw, 88px) 0 64px; }

.eyebrow {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dim);
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--c);
    vertical-align: 1px;
}

h1, h2, h3 {
    font-family: "Bricolage Grotesque", Inter, sans-serif;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
}

h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); margin-top: 18px; max-width: 18ch; }
h1 em, h2 em { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; color: var(--gold); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-top: 56px; }
h3 { font-size: 1.3rem; margin-top: 8px; }

.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 62ch; margin-top: 22px; }

p, li { color: #c9cede; }
ul { padding-left: 1.2em; }
li { margin: 6px 0; }
strong { color: var(--text); }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.card {
    display: block;
    padding: 26px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    color: var(--text);
}

a.card:hover { text-decoration: none; border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.card p { margin: 10px 0 0; color: var(--muted); }
.card .price { margin-top: 16px; font-weight: 600; color: var(--c); }
.card .go { margin-top: 14px; font-weight: 600; color: var(--c); }

.facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 32px;
}

.facts div {
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--line);
}

.facts b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.6rem; color: var(--text); }
.facts span { color: var(--dim); font-size: 0.9rem; }

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin: 14px 0; }
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    color: var(--c);
}

.contact {
    margin-top: 64px;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 24px;
    border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
    background: rgba(245, 200, 75, 0.05);
}

.contact h2 { margin-top: 0; }

.btn {
    display: inline-block;
    margin-top: 18px;
    margin-right: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    background: var(--text);
    color: var(--ink);
}

.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn:hover { text-decoration: none; }

.diagram { margin-top: 28px; max-width: 520px; width: 100%; border-radius: 18px; border: 1px solid var(--line); }

footer {
    border-top: 1px solid var(--line);
    padding: 28px 0 40px;
    color: var(--dim);
    font-size: 0.9rem;
}

footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--muted); }
