@font-face {
    font-family: "Bricolage";
    src: url("/static/fonts/bricolage.woff2") format("woff2");
    font-weight: 200 800;
    font-stretch: 75% 100%;
    font-display: swap;
}
@font-face {
    font-family: "Inter Tight";
    src: url("/static/fonts/inter-tight.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

/* Same palette and type as partners.accountspoint.shop */
:root {
    --mist: #e8eff2;
    --paper: #ffffff;
    --ink: #0e2a36;
    --slate: #52697a;
    --rule: #d2dee4;
    --link: #00729a;
    --cyan: #0aa3d8;
    --on-cyan: #052330;
    --live: #1f9d55;
    --hold-bg: #fdf0cf; --hold: #6e4b00;
    --display: "Bricolage", "Inter Tight", system-ui, sans-serif;
    --text: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
    --r-panel: 20px;
    --r-control: 12px;
    --wide: 1040px;
    color-scheme: light;
}
@media (prefers-color-scheme: dark) {
    :root {
        --mist: #0b1a21;
        --paper: #11252e;
        --ink: #e3eef2;
        --slate: #93abb6;
        --rule: #22404c;
        --link: #5ac8f0;
        --live: #5fd18e;
        --hold-bg: #36290b; --hold: #f1cf7e;
        color-scheme: dark;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
    margin: 0;
    background: var(--mist);
    color: var(--ink);
    font: 400 1rem/1.55 var(--text);
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.6rem); font-weight: 700; line-height: 1.03; letter-spacing: -0.025em; font-stretch: 90%; }
h2 { font-size: clamp(1.4rem, 3.4vw, 1.9rem); font-weight: 680; line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 0.6rem; font-stretch: 92%; }
h3 { font-size: 1.15rem; font-weight: 650; line-height: 1.3; margin-bottom: 0.3rem; }
p { margin: 0 0 0.8rem; max-width: 64ch; }
b, strong { font-weight: 600; }
.muted { color: var(--slate); }
.small { font-size: 0.875rem; color: var(--slate); }
.lede { font-size: 1.125rem; color: var(--slate); max-width: 54ch; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Masthead */
.masthead {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    max-width: var(--wide); margin: 0 auto; padding: 18px 16px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand-logo { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; flex: none; }
.brand-mark {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; flex: none;
    background: var(--cyan); color: var(--on-cyan); font: 800 0.95rem/1 var(--display);
}
.brand-name { font: 700 1.1rem/1.1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.nav-link {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px;
    color: var(--slate); text-decoration: none; font: 500 0.95rem var(--text);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); background: var(--paper); }
.nav .btn { margin-left: 8px; }
@media (max-width: 860px) { .nav-link { display: none; } }
@media (max-width: 380px) { .brand-name { display: none; } }

.page { max-width: var(--wide); margin: 0 auto; padding: 0 16px 24px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px; border-radius: var(--r-control);
    border: 1px solid var(--rule); background: var(--paper); color: var(--ink);
    font: 600 0.975rem/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform 0.08s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { border-color: var(--slate); }
.btn:active { transform: scale(0.98); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ink:hover { background: color-mix(in srgb, var(--ink) 86%, var(--cyan)); border-color: transparent; }
.btn-discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn-discord:hover { background: #4752c4; border-color: #4752c4; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.9rem; border-radius: 10px; }
.text-link { font-weight: 600; }

/* Hero */
.hero { display: grid; gap: 40px; padding: 36px 0 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; max-width: 15ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 16px; }
.members { display: flex; align-items: center; gap: 9px; margin: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px color-mix(in srgb, var(--live) 22%, transparent); }
.hero-visual { display: flex; justify-content: center; padding: 0 8px; }
@media (min-width: 860px) {
    .hero { grid-template-columns: 1.2fr 0.8fr; padding: 64px 0 80px; }
}

/* Ticket stub: the one loud element, shared with the partner portal */
.ticket {
    --notch: 13px;
    display: grid; grid-template-columns: 1fr; width: 100%;
    background: var(--cyan); color: var(--on-cyan); border-radius: 18px; margin: 0;
    -webkit-mask: radial-gradient(circle var(--notch) at 0 var(--seam, 60%), #0000 98%, #000) 0 0 / 51% 100% no-repeat,
                  radial-gradient(circle var(--notch) at 100% var(--seam, 60%), #0000 98%, #000) 100% 0 / 51% 100% no-repeat;
            mask: radial-gradient(circle var(--notch) at 0 var(--seam, 60%), #0000 98%, #000) 0 0 / 51% 100% no-repeat,
                  radial-gradient(circle var(--notch) at 100% var(--seam, 60%), #0000 98%, #000) 100% 0 / 51% 100% no-repeat;
}
.ticket-order { max-width: 380px; transform: rotate(-2.5deg); box-shadow: 0 24px 48px -24px color-mix(in srgb, var(--on-cyan) 60%, transparent); }
.ticket-main, .ticket-stub { padding: 22px 24px; display: grid; gap: 6px; align-content: start; }
.ticket-stub { border-top: 2px dashed color-mix(in srgb, var(--on-cyan) 35%, transparent); }
.ticket p { margin: 0; }
.ticket-label { font: 600 0.85rem/1.2 var(--text); opacity: 0.8; }
.ticket-code { font: 800 clamp(2.6rem, 11vw, 3.4rem)/1 var(--display); letter-spacing: -0.01em; font-stretch: 95%; }
.ticket-code span { font: 600 1rem/1 var(--text); letter-spacing: 0; opacity: 0.8; }
.ticket-sub { font: 600 1.05rem/1.3 var(--display); }
.ticket-link { font: 600 1.05rem/1.3 var(--display); }

/* Sections */
.section { padding: 8px 0 40px; }
.section-head { margin-bottom: 8px; }
.section-head .lede { margin-bottom: 6px; }
.group { margin-top: 28px; }
.group-head { margin-bottom: 14px; }
.group-head h3 { font-size: 1.3rem; }
.group-head p { margin: 0; }
.boards { display: grid; gap: 14px; }
@media (min-width: 720px) { .boards-2, .boards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .boards-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) {
    .group-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 36px; align-items: start; }
    .group-split .group-head { padding-top: 18px; }
}
.group + .small { margin-top: 18px; }

.board { background: var(--paper); border-radius: var(--r-panel); padding: 20px 22px 10px; }
.board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 6px; }
.board-title { font: 650 1.15rem/1.25 var(--display); }
.board-codes { margin: 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; color: var(--slate); }

.rates { width: 100%; border-collapse: collapse; }
.rates thead th { padding: 8px 0; font: 500 0.8rem var(--text); color: var(--slate); text-align: left; border-bottom: 1px solid var(--rule); }
.rates thead th:last-child { text-align: right; }
.rates tbody th, .rates td { padding: 13px 0; border-bottom: 1px solid var(--rule); text-align: left; font-weight: 500; }
.rates tbody tr:last-child th, .rates tbody tr:last-child td { border-bottom: 0; }
.rates td { text-align: right; font: 700 1.2rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Panels */
.block { background: var(--paper); border-radius: var(--r-panel); padding: 28px 24px; margin-bottom: 14px; }
.block > :last-child { margin-bottom: 0; }
.block-split { display: grid; gap: 22px; align-items: center; }
@media (min-width: 720px) { .block-split { grid-template-columns: auto 1fr; gap: 36px; padding: 32px 36px; } }

.steps { list-style: none; counter-reset: step; margin: 14px 0 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before {
    content: counter(step); position: absolute; left: 0; top: -2px;
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid var(--ink); font: 700 1rem/1 var(--display);
}
.steps p { margin: 0; color: var(--slate); }
@media (min-width: 820px) {
    .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
    .steps li { padding: 52px 0 0; }
    .steps li::after { content: ""; position: absolute; left: 46px; right: 8px; top: 16px; border-top: 2px dashed var(--rule); }
    .steps li:last-child::after { display: none; }
}

/* The warranty length, set big */
.days span {
    display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%;
    border: 2px dashed var(--rule); font: 750 3.6rem/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
@media (max-width: 719px) { .days span { width: 96px; height: 96px; font-size: 2.6rem; } }

.block-partner, .block-contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.block-partner > div, .block-contact > div { flex: 1 1 420px; }
.block-partner p, .block-contact p { margin-bottom: 0; }
.block-contact .small { margin-top: 8px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-actions .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; flex-wrap: wrap; column-gap: 6px; }
@media (max-width: 520px) { .contact-actions, .contact-actions .btn { width: 100%; } }
.handle { font-weight: 500; color: var(--slate); }

/* Questions */
.faq { background: var(--paper); border-radius: var(--r-panel); padding: 4px 24px; margin-top: 14px; }
.faq-item + .faq-item { border-top: 1px solid var(--rule); }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; font: 600 1.02rem/1.35 var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: ""; width: 9px; height: 9px; flex: none; margin-right: 4px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-3px); transition: transform 0.18s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.faq-item p { color: var(--slate); padding-bottom: 18px; margin: 0; }

/* Policy pages */
.prose { max-width: 70ch; padding: 32px 0 24px; }
.prose h1 { font-size: clamp(2rem, 5.5vw, 3rem); margin-bottom: 14px; }
.prose h2 { font-size: 1.3rem; margin: 2rem 0 0.5rem; }
.prose ul { padding-left: 1.2rem; margin: 0 0 0.8rem; }
.prose li { margin-bottom: 0.45rem; }
.prose li::marker { color: var(--cyan); }
.prose .btn { margin-top: 4px; }
.notice { border-radius: var(--r-control); padding: 12px 16px; background: var(--hold-bg); color: var(--hold); font-weight: 500; }

.status { padding: 56px 0 40px; max-width: 560px; }
.status h1 { margin-bottom: 14px; }

/* Footer */
.site-foot { width: calc(100% - 32px); max-width: calc(var(--wide) - 32px); margin: 24px auto 0; padding: 28px 0 40px; border-top: 1px solid var(--rule); color: var(--slate); }
.foot-grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1fr auto; align-items: start; } }
.foot-note { margin: 12px 0 0; max-width: 46ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-links a { color: var(--ink); text-decoration: none; padding: 6px 0; font-weight: 500; }
.foot-links a:hover { text-decoration: underline; }
.langs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 22px 0 6px; }
.langs a { color: var(--slate); text-decoration: none; padding: 6px 0; }
.langs a:hover { color: var(--ink); text-decoration: underline; }
.langs a[aria-current="true"] { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .btn:active { transform: none; }
}
