/* Shared brand shell for standalone routes (/privacy, /microsoftpartner).
   Palette and font roles follow .assets/branding/nLyze brand guidelines.pptx:
   purple leads, cyan is the active accent, Anaktoria is accents/graphical titles only. */

@font-face {
    font-family: 'albertsans';
    src: url('/fonts/AlbertSans-VariableFont_wght.woff') format('woff-variations'),
         url('/fonts/AlbertSans-VariableFont_wght.woff') format('woff');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'albertsans';
    src: url('/fonts/AlbertSans-Italic-VariableFont_wght.woff') format('woff-variations'),
         url('/fonts/AlbertSans-Italic-VariableFont_wght.woff') format('woff');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'anaktoria';
    src: url('/fonts/anaktoria-webfont.woff') format('woff');
    font-display: swap;
}

:root {
    color-scheme: light;

    --purple: #594ae2;
    --cyan: #0099cc;
    --violet: #7937ab;
    --teal: #3a7681;
    --green: #86ac49;
    --indigo: #1d1377;

    --ink: #1a1440;
    --body: #3b3566;
    --muted: #544d7d;
    --cyan-ink: #04698c;

    --surface: #ffffff;
    --tint: #f5f4fd;
    --line: #e2dff5;

    --night: #140f2e;
    --night-line: rgba(255, 255, 255, 0.14);
    --night-text: rgba(255, 255, 255, 0.78);

    --track-xl: -0.032em;
    --track-lg: -0.024em;
    --track-md: -0.014em;

    --gut: clamp(20px, 5vw, 64px);
    --maxw: 1240px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: 'albertsans', 'Segoe UI Variable', 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--body);
    background-color: var(--surface);
    -webkit-font-smoothing: antialiased;
}

.band {
    width: 100%;
    padding: clamp(48px, 6vw, 92px) var(--gut);
}

.band > .inner {
    max-width: var(--maxw);
    margin: 0 auto;
}

.band-tint { background-color: var(--tint); }

.band-night {
    background-color: var(--night);
    color: var(--night-text);
}

.band-night h1,
.band-night h2,
.band-night h3 { color: #fff; }

.hero {
    background-color: var(--night);
    background-image:
        radial-gradient(ellipse at 8% 110%, rgba(89, 74, 226, 0.55), transparent 55%),
        radial-gradient(ellipse at 92% 92%, rgba(0, 153, 204, 0.3), transparent 50%);
    color: var(--night-text);
}

.measure { max-width: 68ch; }

.stripes {
    display: flex;
    gap: 4px;
    height: 26px;
    margin-bottom: 22px;
}

.stripes i {
    display: block;
    width: 5px;
    border-radius: 1px;
    background-color: var(--purple);
}

.stripes i:nth-child(2) { background-color: var(--cyan); }
.stripes i:nth-child(3) { background-color: var(--violet); }
.stripes i:nth-child(4) { background-color: var(--teal); }
.stripes i:nth-child(5) { background-color: var(--green); }

.brandbar {
    display: flex;
    align-items: center;
    margin-bottom: clamp(28px, 4vw, 52px);
}

.brandbar img { height: 34px; width: auto; }

.eyebrow {
    display: block;
    margin: 0 0 14px;
    font-family: 'anaktoria', Georgia, serif;
    font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
    line-height: 1;
    color: var(--cyan-ink);
}

.hero .eyebrow,
.band-night .eyebrow { color: #63d7ff; }

h1 {
    margin: 0;
    font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: var(--track-xl);
    color: var(--ink);
    text-wrap: balance;
}

.hero h1 { color: #fff; }

h2 {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 1rem + 1.8vw, 2.2rem);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: var(--track-lg);
    color: var(--ink);
}

h3 {
    margin: 26px 0 8px;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: var(--track-md);
    color: var(--ink);
}

.lede {
    margin: 18px 0 0;
    font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.28rem);
    line-height: 1.5;
    letter-spacing: var(--track-md);
    color: rgba(255, 255, 255, 0.82);
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: var(--cyan-ink); }
.band-night a, .hero a { color: #63d7ff; }

b, strong { color: var(--ink); font-weight: 700; }
.band-night b, .band-night strong { color: #fff; }

ol, ul { padding-left: 1.2em; }
li { margin-bottom: 10px; }

.policy li b,
.policy li strong { color: var(--ink); }

.note {
    margin-top: 28px;
    padding: 18px 20px;
    border-left: 3px solid var(--cyan);
    background-color: var(--tint);
    font-size: 0.95rem;
    max-width: 78ch;
    color: var(--muted);
}

/* Placeholder marker: visible on purpose so unverified copy cannot ship unnoticed. */
.todo {
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px dashed #b8860b;
    border-radius: 8px;
    background-color: #fffbeb;
    color: #7c5e10;
    font-size: 0.92rem;
}

.todo b { color: #7c5e10; }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 1px;
    margin-top: 24px;
    background-color: var(--line);
    border: 1px solid var(--line);
}

.cards > div {
    padding: 22px;
    background-color: var(--surface);
}

.cards h3 { margin-top: 0; }

.btn {
    display: inline-block;
    margin-top: 24px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    background-color: var(--purple);
    color: #fff;
    font-size: 0.97rem;
    font-weight: 600;
    letter-spacing: var(--track-md);
    text-decoration: none;
}

.btn:hover { background-color: #4a3cd0; }

.btn-ghost {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.34);
    color: #fff;
}

.btn-ghost:hover { background-color: rgba(255, 255, 255, 0.1); }

.btn-line {
    background-color: transparent;
    border-color: var(--line);
    color: var(--purple);
}

.btn-line:hover { background-color: var(--tint); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.actions .btn { margin-top: 0; }

/* Sticky section nav: this page is long and resellers arrive looking for one thing. */
.subnav {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.subnav .inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 10px var(--gut);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.subnav a {
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid transparent;
    color: var(--ink);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: var(--track-md);
    text-decoration: none;
    white-space: nowrap;
}

.subnav a:hover { background-color: var(--tint); border-color: var(--line); }

/* Offer block: one per marketplace listing. */
.offer {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 3vw, 44px);
    padding-top: clamp(32px, 4vw, 52px);
    margin-top: clamp(32px, 4vw, 52px);
    border-top: 1px solid var(--line);
}

.offers > .offer:first-child { padding-top: 0; margin-top: 0; border-top: 0; }

@media (min-width: 900px) {
    .offer { grid-template-columns: 300px 1fr; }
}

.band-night .offer { border-color: var(--night-line); }

.offer-art {
    width: 84px;
    height: 84px;
    margin-bottom: 16px;
    background-color: var(--purple);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.art-cyan { background-color: var(--cyan); }
.art-violet { background-color: var(--violet); }

.tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background-color: var(--tint);
    border: 1px solid var(--line);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--purple);
}

/* Two-column spec list: label left, value right. */
.spec {
    margin: 18px 0 0;
    border-top: 1px solid var(--line);
}

.spec > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.94rem;
}

@media (min-width: 640px) {
    .spec > div { grid-template-columns: 180px 1fr; }
}

.spec dt { font-weight: 700; color: var(--ink); margin: 0; }
.spec dd { margin: 0; }

/* Talk track: what the reseller actually says. */
.track {
    margin-top: 20px;
    padding: 18px 20px;
    border-left: 3px solid var(--purple);
    background-color: var(--tint);
    font-size: 0.96rem;
}

.track b { display: block; margin-bottom: 6px; color: var(--purple); }

.qa { margin-top: 24px; }

.qa > details {
    border-bottom: 1px solid var(--line);
}

.qa > details > summary {
    padding: 16px 0;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.qa > details > summary::-webkit-details-marker { display: none; }
.qa > details > summary::after { content: '+'; color: var(--cyan-ink); font-size: 1.2rem; line-height: 1; }
.qa > details[open] > summary::after { content: '\2212'; }

.qa > details > div {
    padding: 0 0 18px;
    max-width: 78ch;
    color: var(--body);
}

/* .qa defaults to light-mode ink; on a night band that renders near-invisible. */
.band-night .qa > details { border-bottom-color: var(--night-line); }
.band-night .qa > details > summary { color: #fff; }
.band-night .qa > details > summary::after { color: #63d7ff; }
.band-night .qa > details > div { color: var(--night-text); }
.band-night .qa em { color: #fff; }

.steps { counter-reset: s; margin-top: 24px; }

.steps > div {
    counter-increment: s;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    align-items: start;
}

.band-night .steps > div { border-color: var(--night-line); }

.steps > div::before {
    content: counter(s, decimal-leading-zero);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--cyan);
}

@media (min-width: 860px) {
    .steps > div { grid-template-columns: 46px 260px 1fr; gap: 24px; }
    .steps h3 { margin-top: 0; margin-bottom: 0; }
}

footer {
    padding: 30px var(--gut);
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
    color: var(--muted);
}

footer .inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    justify-content: space-between;
}

footer a { margin-right: 18px; }
