/* presta-support */
@font-face { font-family: "Space Grotesk"; src: url("files/space-grotesk-latin-500-normal.woff2?v=2343a4a4b054") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; src: url("files/space-grotesk-latin-600-normal.woff2?v=2343a4a4b054") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; src: url("files/ibm-plex-sans-latin-400-normal.woff2?v=2343a4a4b054") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; src: url("files/ibm-plex-sans-latin-ext-400-normal.woff2?v=2343a4a4b054") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; src: url("files/ibm-plex-sans-latin-500-normal.woff2?v=2343a4a4b054") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; src: url("files/ibm-plex-sans-latin-ext-500-normal.woff2?v=2343a4a4b054") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; src: url("files/ibm-plex-sans-latin-600-normal.woff2?v=2343a4a4b054") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; src: url("files/ibm-plex-sans-latin-ext-600-normal.woff2?v=2343a4a4b054") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url("files/ibm-plex-mono-latin-500-normal.woff2?v=2343a4a4b054") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; src: url("files/ibm-plex-mono-latin-ext-500-normal.woff2?v=2343a4a4b054") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
    --ink: #0F172A;
    --muted: #5B6474;
    --line: rgba(11,18,32,.08);
    --line-strong: rgba(11,18,32,.14);
    --bg: #FFFFFF;
    --sand: #FAFBFD;
    --card: #FFFFFF;
    --accent: #2F5BFF;
    --accent-dark: #2448D8;
    --highlight: #C6F432;
    --dark: #0B1220;
    --dark-soft: #141D30;
    --on-dark: #CBD5E1;
    --on-dark-muted: #94A3B8;
    --bezel: rgba(11,18,32,.035);
    --radius: 10px;
    --radius-lg: 14px;
    --radius-outer: 18px;
    --font: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Space Grotesk', 'IBM Plex Sans', Arial, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
/* Presta Support house style: seeded into settings.custom_css by bin/seed-brand-assets.php; loaded after app.css. */
/* Colours, radii and fonts come from settings.theme.vars; the --highlight lime is only for primary buttons. */
:root { --shadow-soft: 0 1px 2px rgba(11, 18, 32, 0.04), 0 8px 24px rgba(11, 18, 32, 0.06); }

body { background: var(--sand); }
strong, b { font-weight: 600; }
h1, h2 { font-weight: 600; letter-spacing: -0.02em; }
h3, h4 { font-weight: 600; letter-spacing: -0.01em; }
.score-value, .summary-item strong, .preview-domain { font-weight: 600; }

/* Small labels: IBM Plex Mono 500, 12px, uppercase. */
.eyebrow, .score-caption, .preview-eyebrow, .meta dt, .check-number, .top-number, .mobile-menu-heading {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.eyebrow { color: var(--accent-dark); }
.check-number, .top-number { color: var(--muted); }

.site-header { background: var(--card); border-bottom-color: var(--line); }
.brand-logo { height: 32px; }
.tool-tab.is-active { font-weight: 600; }
.hero, .report-header { background: var(--sand); border-bottom-color: var(--line); }

/* Double bezel: an outer 4px layer (18px radius) around a 14px panel with a hairline border. */
.panel, .preview-card, .score, .check-card, .cro-score-card, .cta, .summary-item, .metrics {
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 0 4px var(--bezel), var(--shadow-soft);
}
.panel-dark, .preview-card, .score, .cro-score-card { border-color: var(--dark); }
.check-card, .summary-item { background: var(--card); }

/* Text on the dark ink panels. */
.panel-dark, .preview-card, .score, .cro-score-card, .preview-note, .panel-dark label { color: var(--on-dark); }
.panel-dark .muted, .preview-eyebrow, .score-caption, .score-value small, .cro-disclaimer, .cro-ring-value small, .cro-preview-score { color: var(--on-dark-muted); }
.preview-head { border-bottom-color: rgba(203, 213, 225, 0.14); }

/* Buttons: lime primary with ink text (14.6:1), white secondary with a hairline. */
.button { border-color: var(--highlight); background: var(--highlight); color: var(--dark); font-weight: 600; }
.button:hover { border-color: #b4e01f; background: #b4e01f; color: var(--dark); }
.button-secondary { border-color: var(--line-strong); background: var(--card); color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); background: var(--card); color: var(--ink); }

input[type="text"], input[type="email"], input[type="tel"], textarea, .segmented-options { border-color: var(--line-strong); }

.pill-level-neutral, .pill-ps-unknown { background: rgba(11, 18, 32, 0.06); color: var(--muted); }
.cro-card.is-unmeasured { background: var(--sand); }
.cro-card-bar { background: var(--line); }
.category-card:hover { background: var(--sand); }

/* Visible focus everywhere (2px accent ring, 5.2:1 on white, 3.6:1 on ink). */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible,
.lang-option:focus-visible, .button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.lang-option:focus-visible { outline-offset: -2px; }

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