/* ── Self-hosted Plus Jakarta Sans (variable weight 200-800, SIL OFL, see fonts/OFL-plus-jakarta-sans.txt) ──
   Self-hosted on purpose: loading Google Fonts from Google's servers sends visitors' IPs to Google. */
/* latin-ext */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
    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;
}
/* latin */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2');
    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;
}

/* ── Design tokens (the landing page is dark only) ── */
:root {
    color-scheme: dark;

    --bg: #0c1729;
    --bg-deep: #091221;
    --surface: #132035;
    --border: #1f2e45;
    --border-strong: #2a3b55;
    --accent: #19c2ad;
    --accent-hover: #3fd8c4;
    --accent-ink: #062521;
    --accent-soft-bg: #0f2433;
    --accent-soft-border: #1f4a4f;
    --accent-soft-text: #8ce9dc;
    --text: #eef3f6;
    --text-2: #dbe4ea;
    --muted: #b4c3cf;
    --muted-2: #a9b9c6;
    --faint: #8fa2b3;
    --wrap: 1208px;

    /* Names the other pages' styles (contact, legal, account, registration) use. */
    --color-primary:        var(--accent);
    --color-primary-light:  var(--accent-hover);
    --color-primary-dark:   #12a594;
    --color-surface:        var(--surface);
    --color-surface-alt:    var(--bg);
    --color-surface-card:   var(--surface);
    --color-surface-footer: var(--bg-deep);
    --color-border:         var(--border-strong);
    --color-border-subtle:  var(--border);
    --color-text:           var(--text-2);
    --color-text-heading:   var(--text);
    --color-text-muted:     var(--muted-2);
    --color-badge-text:     var(--accent-ink);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

a { color: var(--accent-hover); text-decoration: none; }
a:hover { color: var(--accent-soft-text); }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; border-radius: 6px; }

.wrap, .container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
    display: inline-block;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 22px;
    border-radius: 11px;
    border: 1px solid transparent;
    background: var(--accent);
    color: var(--accent-ink);
    cursor: pointer;
    text-align: center;
    transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn:disabled { opacity: .6; cursor: default; }

.btn-ghost,
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); font-weight: 600; }
.btn-ghost:hover,
.btn-outline:hover { background: var(--surface); color: #fff; }

.btn-sm { font-size: 14px; padding: 9px 16px; border-radius: 9px; }

/* ── Type ── */
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; color: var(--accent); text-transform: uppercase; }
.h2 {
    font-size: clamp(30px, 3.6vw, 42px);
    line-height: 1.1;
    letter-spacing: -1.1px;
    font-weight: 800;
    margin-top: 12px;
    max-width: 680px;
    text-wrap: balance;
}
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.4; color: var(--text-2); }
.check-list li::before { content: "✓"; color: var(--accent); font-weight: 800; flex: 0 0 auto; }

/* ── Nav ── */
.nav {
    position: sticky; top: 0; z-index: 10;
    background: rgba(12, 23, 41, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a2940;
}
.nav .wrap { height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 9px; color: #fff; }
.logo:hover { color: #fff; }
.logo img { width: 19px; height: 24px; }
.logo span { font-size: 19px; font-weight: 800; letter-spacing: -.4px; }
.nav-links { margin-left: auto; display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.nav-links a { color: #c3d0db; }
.nav-links a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-signin { font-size: 14px; font-weight: 600; color: var(--text); padding: 9px 14px; border-radius: 9px; }
.nav-signin:hover { color: #fff; background: var(--surface); }
.nav-cta { white-space: nowrap; }

/* Menu: hidden until the nav links no longer fit. The panel spans the header's width,
   so it is placed against the sticky header, not the button. */
.nav-menu { display: none; }
.nav-menu summary {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    font-size: 22px; color: var(--text); cursor: pointer; list-style: none; user-select: none;
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary:hover,
.nav-menu[open] summary { background: var(--surface); }
.nav-menu .ph-x,
.nav-menu[open] .ph-list { display: none; }
.nav-menu[open] .ph-x { display: block; }
.nav-menu-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    display: flex; flex-direction: column;
    padding: 8px 24px 20px;
    background: var(--bg-deep); border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
}
.nav-menu-panel > a {
    padding: 14px 0; font-size: 16px; font-weight: 600; color: var(--text-2);
    border-bottom: 1px solid var(--border);
}
.nav-menu-panel > a:hover { color: #fff; }
.nav-menu-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.nav-menu-actions i { vertical-align: -2px; }

/* ── Hero ── */
.hero { padding-top: 84px; }
.hero-copy { max-width: 780px; }
.pill {
    display: inline-flex; font-size: 12.5px; font-weight: 600;
    color: var(--accent-soft-text); background: var(--accent-soft-bg);
    border: 1px solid var(--accent-soft-border); border-radius: 20px; padding: 5px 12px;
}
.hero h1 {
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.04;
    letter-spacing: -2px;
    font-weight: 800;
    margin-top: 20px;
    text-wrap: balance;
}
.hero h1 span { color: var(--accent); }
.hero-sub { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--muted); margin-top: 22px; max-width: 600px; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { font-size: 13px; color: var(--faint); margin-top: 16px; }

/* ── Product frames ── */
.frame {
    padding: 10px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid #22324b;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
}
.frame img { width: 100%; height: auto; border-radius: 9px; background: var(--bg); }
.frame-hero { margin-top: 64px; box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
/* No fixed aspect-ratio: each img carries its own width and height, which reserve the space. */
.frame-phone { border-radius: 30px; width: 270px; max-width: 100%; }
.frame-phone img { aspect-ratio: 390 / 844; border-radius: 22px; }

/* ── How it works ── */
.how { padding-top: 120px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 40px 0 0; list-style: none; padding: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.step { padding: 22px 22px 24px; }
.step-num {
    width: 30px; height: 30px; border-radius: 50%;
    background: #0f3a3b; color: var(--accent-hover);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
}
.step h3 { font-size: 17px; font-weight: 700; margin-top: 16px; letter-spacing: -.2px; }
.step p { font-size: 14px; line-height: 1.55; color: var(--muted-2); margin-top: 7px; text-wrap: pretty; }

/* ── Showcases ── */
.showcases { padding-top: 110px; display: flex; flex-direction: column; gap: 96px; }
.showcase { display: flex; align-items: center; justify-content: space-between; gap: 56px; }
.showcase.reverse { flex-direction: row-reverse; }
.showcase-copy { flex: 1 1 300px; min-width: 0; max-width: 440px; }
.showcase-copy h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.12; letter-spacing: -.8px; font-weight: 800; margin-top: 12px; text-wrap: balance; }
.showcase-copy p { font-size: 16px; line-height: 1.6; color: var(--muted); margin-top: 16px; text-wrap: pretty; }
.showcase-copy .check-list { margin-top: 20px; }
.showcase .frame-laptop { flex: 0 1 680px; min-width: 0; }
.phone-pair { flex: 0 0 auto; display: flex; align-items: flex-start; gap: 18px; }
.phone-pair .frame-phone { width: min(250px, 42vw); padding: 8px; border-radius: 26px; }
.phone-pair .frame-phone img { border-radius: 19px; }
.phone-pair .frame-phone + .frame-phone { margin-top: 48px; }

/* ── Key numbers ── */
.stats { padding-top: 72px; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0;
    padding: 28px 32px; border-radius: 16px; background: var(--bg-deep); border: 1px solid var(--border);
}
.stats-grid.stats-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
.stats-grid dt { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.8px; color: var(--accent); }
.stats-grid dd { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted-2); }

/* ── Shared section parts ── */
.h2 .accent { color: var(--accent); }
.section-lead { font-size: 16px; line-height: 1.6; color: var(--muted); margin-top: 16px; max-width: 720px; text-wrap: pretty; }
.section-note { font-size: 14px; line-height: 1.6; color: var(--muted-2); margin-top: 22px; }
.fact-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14.5px; line-height: 1.5; }
.fact-table th, .fact-table td { text-align: left; vertical-align: top; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--border); }
.fact-table thead th { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--faint); border-bottom-color: var(--border-strong); }
.fact-table tbody th { font-weight: 700; color: var(--text); white-space: nowrap; }
.fact-table td { color: var(--muted); }
.fact-table td:last-child { color: var(--text-2); }

/* ── Why DeskFlow ── */
.problem { padding-top: 110px; }
.problem-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; margin-top: 40px; }
.question-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.question-list li {
    font-size: 15px; line-height: 1.45; color: var(--text-2);
    padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border);
}

/* ── Security ── */
.security { padding-top: 130px; }
.security .fact-table { margin-top: 28px; }

/* ── Rollout ── */
.rollout { padding-top: 130px; }
.rollout .list-label { margin-top: 36px; }
.prepare-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; margin-top: 14px; }

/* ── Features ── */
.features { padding-top: 130px; }
.feature-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.feature-group { padding: 28px 28px 12px; border-radius: 16px; }
.feature-group h3 { font-size: 19px; font-weight: 800; letter-spacing: -.3px; }
.feature-list { list-style: none; margin: 18px 0 0; padding: 0; }
.feature-list li { padding: 15px 0; border-top: 1px solid var(--border); }
.feature-list strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); }
.feature-list span { display: block; font-size: 14px; line-height: 1.55; color: var(--muted-2); margin-top: 4px; text-wrap: pretty; }

/* ── Pricing ── */
.pricing { padding-top: 130px; }
.pricing-head { text-align: center; }
.pricing-head .h2 { margin-left: auto; margin-right: auto; }
.pricing-head p { font-size: 16px; color: var(--muted); margin-top: 14px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; align-items: stretch; }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; margin-left: auto; margin-right: auto; }
/* The cards share the grid's rows (name, price, seats, label, list, button), so a longer
   list in one card keeps the others' rows level with it. */
.plans { row-gap: 0; }
.plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; padding: 28px; border-radius: 18px; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 20px 60px rgba(25, 194, 173, .12); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-name { font-size: 18px; font-weight: 800; }
.badge { font-size: 11px; font-weight: 800; letter-spacing: .6px; color: var(--accent-ink); background: var(--accent); border-radius: 20px; padding: 4px 10px; text-transform: uppercase; }
.price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.price strong { font-size: 42px; font-weight: 800; letter-spacing: -1.5px; }
.price span { font-size: 14px; color: var(--muted-2); }
.seats {
    font-size: 14px; font-weight: 700; color: var(--accent-soft-text);
    margin-top: 18px; padding: 10px 12px; border-radius: 9px;
    background: var(--accent-soft-bg); border: 1px solid var(--accent-soft-border);
}
.list-label { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; color: var(--faint); margin-top: 22px; text-transform: uppercase; }
.plan .check-list { margin-top: 12px; }
.plan .btn { margin-top: 26px; display: block; padding: 13px; align-self: end; }
.plan .btn-ghost { border-color: #2f4260; font-weight: 700; }
.price-note { text-align: center; font-size: 13px; color: var(--faint); margin-top: 18px; }

/* ── Closing CTA ── */
.closing { padding-top: 120px; }
.closing-box {
    border-radius: 20px; background: var(--accent-soft-bg); border: 1px solid var(--accent-soft-border);
    padding: clamp(32px, 5vw, 56px);
    display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.closing-box > div:first-child { flex: 1 1 360px; min-width: 0; }
.closing-box h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.9px; font-weight: 800; text-wrap: balance; }
.closing-box p { font-size: 16px; color: var(--muted); margin-top: 12px; line-height: 1.55; }
.closing-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Footer ── */
.footer { margin-top: 110px; border-top: 1px solid #1a2940; background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.footer .logo img { width: 16px; height: 20px; }
.footer .logo span { font-size: 17px; }
.footer-tag { font-size: 13.5px; color: var(--faint); margin-top: 10px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col h4 { font-size: 14px; font-weight: 700; }
.footer-col a { color: var(--muted-2); }
.footer-col a:hover { color: #fff; }
.copyright { font-size: 12.5px; color: var(--faint); padding-bottom: 32px; }

/* ── Legal pages ── */
.legal-page {
    max-width: 780px;
    margin: 60px auto 0;
    padding: 0 24px;
}

.legal-page h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.8px;
    color: var(--color-text-heading);
    margin-bottom: 8px;
}

.legal-intro {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border-subtle);
}

.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-bottom: 14px;
}

.legal-section h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-heading);
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-section p {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: none;
    margin: 0 0 12px 0;
    padding: 0;
}

.legal-section ul li {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.75;
    padding-left: 18px;
    position: relative;
}

.legal-section ul li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.legal-section a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-section a:hover { color: var(--color-primary-light); }

/* ── Simple content pages (404) ── */
.simple-page { padding-top: 84px; }
.simple-page p { color: var(--muted); margin-top: 14px; }

/* ── Form controls ── */
.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: var(--color-text);
}

.form-control {
    width: 100%;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 9px;
    background: var(--bg-deep);
    color: var(--color-text);
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(25, 194, 173, 0.18);
}

.form-control::placeholder {
    color: var(--color-text-muted);
    opacity: 0.65;
}

/* ── Blazor validation ── */
.valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; }
.invalid { outline: 1px solid #ff6b6b; }
.validation-message { color: #ff8080; }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after { content: "An error has occurred." }

.darker-border-checkbox.form-check-input { border-color: #929292; }

/* ── Responsive ── */
@media (max-width: 1099px) {
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
    .plans, .plans-2 { grid-template-columns: minmax(0, 560px); justify-content: center; }
    .plan + .plan { margin-top: 18px; }
}
@media (max-width: 979px) {
    .problem-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .showcase, .showcase.reverse { flex-direction: column; align-items: stretch; gap: 32px; }
    /* flex: none, as the 300px basis would otherwise reserve 300px of height in the column. */
    .showcase-copy { max-width: none; flex: none; }
    .showcase .frame-laptop { flex: none; }
    .showcase .phone-pair { align-self: center; }
    .feature-groups { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
    /* The full nav needs about 890px (German), so below 960px the links and sign-in move into
       the menu; the call to action stays while it fits. */
    .nav .wrap { gap: 14px; }
    .nav-links, .nav-signin { display: none; }
    .nav-menu { display: block; }
    .nav-actions { margin-left: auto; gap: 6px; }
}
@media (max-width: 759px) {
    .hero { padding-top: 56px; }
}
@media (max-width: 559px) {
    /* One rhythm for phones: 64px between sections, 10-12px inside a heading block,
       24px from a heading block to its content. Body text 15px, small text 13.5px. */
    .wrap, .container { padding: 0 20px; }
    html { scroll-padding-top: 68px; }
    .nav .wrap { height: 56px; }
    .nav-menu-panel { padding: 4px 20px 18px; }
    .nav-menu-panel > a { padding: 13px 0; font-size: 15.5px; }
    .nav-menu-actions { margin-top: 16px; }
    .nav-menu-actions .btn { padding: 12px; }

    .hero { padding-top: 32px; }
    .stats { padding-top: 40px; }
    .problem, .how, .showcases, .features, .security, .rollout, .pricing, .closing { padding-top: 64px; }
    .footer { margin-top: 64px; }

    .kicker { font-size: 11.5px; letter-spacing: 1.2px; }
    .h2 { font-size: 26px; line-height: 1.12; letter-spacing: -.7px; margin-top: 10px; }
    .section-lead, .showcase-copy p { font-size: 15px; line-height: 1.55; margin-top: 12px; }
    .list-label { font-size: 11px; }
    .check-list { gap: 8px; }
    .check-list li { font-size: 14px; }

    /* ── Hero ── */
    .pill { font-size: 12px; padding: 4px 11px; }
    .hero h1 { font-size: 34px; line-height: 1.06; letter-spacing: -1.1px; margin-top: 16px; }
    .hero-sub { font-size: 16px; line-height: 1.5; margin-top: 14px; }
    /* Full-width buttons are easier to hit with a thumb and line up with each other. */
    .hero-ctas, .closing-ctas { flex-direction: column; width: 100%; gap: 10px; }
    .hero-ctas .btn, .closing-ctas .btn { padding: 13px 20px; }
    .hero-ctas { margin-top: 22px; }
    .hero-note { margin-top: 12px; }
    .frame-hero { margin-top: 32px; }
    .frame { padding: 5px; border-radius: 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
    .frame img { border-radius: 8px; }

    /* ── Key numbers: two side by side ── */
    .stats-grid { gap: 16px 14px; padding: 18px 20px; border-radius: 14px; }
    /* "Mehrsprachig" is wider than a half-width cell on small phones, so it may hyphenate. */
    .stats-grid dt { font-size: 22px; letter-spacing: -.5px; hyphens: auto; overflow-wrap: break-word; }
    .stats-grid dd { font-size: 13px; margin-top: 2px; }
    /* The security facts become rows: the fact on the left, its note beside it. */
    .stats-grid.stats-facts { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 4px 18px; margin-top: 24px; }
    .stats-grid.stats-facts > div { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
    .stats-grid.stats-facts > div + div { border-top: 1px solid var(--border); }
    .stats-grid.stats-facts dt { flex: 0 0 96px; font-size: 19px; letter-spacing: -.3px; }
    .stats-grid.stats-facts dd { margin: 0; }

    /* ── Why DeskFlow ── */
    .problem-grid { margin-top: 24px; gap: 28px; }
    .question-list { gap: 8px; margin-top: 12px; }
    .question-list li { font-size: 14.5px; padding: 12px 14px; border-radius: 10px; }
    /* Tables become one block per row: the topic as its heading, the cells below it. The column
       header is gone, so a cell that needs it names it itself (data-label). */
    .fact-table { font-size: 14px; margin-top: 8px; }
    .fact-table thead { display: none; }
    .fact-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
    .fact-table th, .fact-table td { display: block; padding: 1px 0; border: 0; white-space: normal; }
    .fact-table tbody th { margin-bottom: 2px; }
    .fact-table td[data-label]::before {
        content: attr(data-label); display: block; margin-top: 6px;
        font-size: 10.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--faint);
    }

    /* ── Steps: the number beside the title instead of on a row of its own ── */
    .steps { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; }
    .step { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 14px; padding: 16px; }
    .step-num { width: 28px; height: 28px; font-size: 12.5px; grid-row: span 2; }
    .step h3 { font-size: 16px; margin-top: 3px; }
    .step p { font-size: 13.5px; line-height: 1.5; margin-top: 4px; }

    /* ── Showcases ── */
    .showcases { gap: 56px; }
    .showcase, .showcase.reverse { gap: 22px; }
    .showcase-copy h3 { font-size: 23px; letter-spacing: -.6px; margin-top: 10px; }
    .showcase-copy .check-list { margin-top: 16px; }
    .phone-pair { gap: 14px; }
    .phone-pair .frame-phone { padding: 5px; border-radius: 22px; }
    .phone-pair .frame-phone img { border-radius: 17px; }
    .phone-pair .frame-phone + .frame-phone { margin-top: 32px; }

    /* ── Features ── */
    .feature-groups { margin-top: 24px; gap: 12px; }
    .feature-group { padding: 20px 18px 6px; border-radius: 14px; }
    .feature-group h3 { font-size: 17px; }
    .feature-list { margin-top: 12px; }
    .feature-list li { padding: 12px 0; }
    .feature-list strong { font-size: 14.5px; }
    .feature-list span { font-size: 13.5px; line-height: 1.5; margin-top: 2px; }

    /* ── Security and rollout ── */
    .security .fact-table { margin-top: 12px; }
    .section-note { font-size: 13.5px; margin-top: 16px; }
    .rollout .list-label { margin-top: 28px; }
    .prepare-list { grid-template-columns: minmax(0, 1fr); margin-top: 12px; }

    /* ── Pricing ── */
    .pricing-head p { font-size: 15px; margin-top: 12px; }
    .plans { margin-top: 28px; }
    .plan { padding: 20px; border-radius: 16px; }
    .plan + .plan { margin-top: 12px; }
    .plan-name { font-size: 17px; }
    .price { margin-top: 12px; }
    .price strong { font-size: 34px; letter-spacing: -1.2px; }
    .seats { font-size: 13.5px; margin-top: 14px; padding: 9px 12px; }
    .plan .list-label { margin-top: 18px; }
    .plan .check-list { margin-top: 10px; }
    .plan .btn { margin-top: 20px; padding: 12px; }
    .price-note { margin-top: 14px; }

    /* ── Closing ── */
    .closing-box { padding: 24px 20px; gap: 20px; border-radius: 16px; }
    .closing-box h2 { font-size: 23px; letter-spacing: -.6px; }
    .closing-box p { font-size: 15px; margin-top: 10px; }

    /* ── Footer: brand on its own row, the two link columns side by side, larger tap targets ── */
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; padding-top: 32px; padding-bottom: 24px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-tag { margin-top: 8px; }
    .footer-col { gap: 0; }
    .footer-col h4 { margin-bottom: 4px; }
    .footer-col a { padding: 6px 0; }
    .copyright { padding-bottom: 28px; }
}
@media (max-width: 419px) {
    /* No room left in the header: the call to action is in the phone menu and right below in the hero. */
    .nav-cta { display: none; }
    /* Keeps "Mehrsprachig" on one line down to 360px. */
    .stats-grid:not(.stats-facts) dt { font-size: 20px; }
}
