:root {
    color-scheme: light;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --ink: #0f172a;
    --body: #475569;
    --muted: #64748b;
    --line: #e2e8f0;
    --surface: #f8fafc;
    font-family: "Inter", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--surface);
    font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
::selection { background: #3b82f6; color: white; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .75; }
button, input { min-width: 0; }
svg { flex-shrink: 0; vertical-align: middle; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
p { line-height: 1.65; }
:focus-visible { outline: 3px solid #60a5fa; outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(100%, 1280px); margin-inline: auto; padding-inline: 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 12px 20px; background: var(--ink); color: white; border-radius: 8px; z-index: 100; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
main:focus { outline: none; }
h1:focus { outline: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 85%); backdrop-filter: blur(16px); border-bottom: 1px solid rgb(226 232 240 / 80%); }
.header-content { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; letter-spacing: -.025em; }
.brand-logo { display: block; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; box-shadow: 0 6px 16px rgb(15 23 42 / 18%); transition: transform .2s; }
.brand:hover .brand-logo { transform: rotate(-3deg) scale(1.04); }
.brand-title { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.brand-version { padding: 2px 8px; border-radius: 999px; background: linear-gradient(135deg, var(--blue), #6366f1); color: white; font-size: 12px; font-weight: 700; letter-spacing: 0; }
.desktop-nav { display: flex; gap: 32px; align-items: center; }
.desktop-nav a { color: var(--body); font-size: 14px; font-weight: 500; transition: color .2s; }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--blue); }
.mobile-nav a.active { color: var(--blue); background: #eff6ff; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; min-height: 44px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.5; transition: background .2s, box-shadow .2s, transform .2s, border-color .2s; }
.button-primary { color: white; background: var(--blue); box-shadow: 0 4px 12px rgb(59 130 246 / 20%); }
.button-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgb(59 130 246 / 30%); }
.button-large { padding: 16px 32px; font-size: 16px; }
.button-large.button-primary { box-shadow: 0 12px 26px rgb(59 130 246 / 25%); }
.button-secondary { background: white; color: #334155; border-color: #cbd5e1; box-shadow: 0 1px 2px rgb(15 23 42 / 5%); }
.button-secondary:hover { background: var(--surface); border-color: #94a3b8; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover:not(:disabled) { background: #1e293b; }
.menu-toggle { display: none; background: transparent; color: var(--body); padding: 10px; border: 0; border-radius: 8px; }
.menu-toggle:hover { background: #f1f5f9; }
.mobile-nav { padding: 8px 16px 24px; background: white; border-top: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 12px; border-radius: 8px; font-weight: 500; }
.mobile-nav a:hover { background: var(--surface); }

.hero { position: relative; overflow: hidden; padding: 112px 0 144px; background: linear-gradient(180deg, #eff6ff80, white 65%, white); }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.release-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px; color: #1d4ed8; font-size: 12px; font-weight: 600; letter-spacing: .045em; text-transform: uppercase; box-shadow: 0 1px 2px rgb(15 23 42 / 5%); }
.status-dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--blue); animation: pulse 2s ease-in-out infinite; }
.hero h1 { font-size: 60px; line-height: 1.15; font-weight: 800; }
.hero h1 span { background: linear-gradient(90deg, var(--blue), #4f46e5); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-description { max-width: 660px; font-size: 20px; color: var(--body); }
.hero-actions { display: flex; gap: 16px; padding-top: 8px; }
.trust-indicators { width: 100%; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.trust-indicators strong { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #334155; }
.trust-indicators svg { width: 16px; height: 16px; color: var(--blue); }
.dashboard-wrap { position: relative; margin-left: 8px; isolation: isolate; }
.dashboard-wrap::before { content: ""; position: absolute; inset: -6px; border-radius: 20px; background: linear-gradient(90deg, var(--blue), #4f46e5); filter: blur(18px); opacity: .3; z-index: -1; }
.dashboard { padding: 32px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 25px 50px -12px rgb(15 23 42 / 25%); }
.dashboard-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid #f1f5f9; margin-bottom: 24px; }
.dashboard-title > span { font: 12px ui-monospace, Consolas, monospace; color: #94a3b8; }
.window-dots { display: flex; gap: 12px; }
.window-dots span { width: 12px; height: 12px; border-radius: 50%; background: #fb7185; }
.window-dots span:nth-child(2) { background: #fbbf24; }
.window-dots span:nth-child(3) { background: #34d399; }

.quiz-grid { grid-template-columns: 5fr 6fr; gap: 56px; }
.quiz-hero { padding-bottom: 112px; }
.quiz-wrap { margin-left: 0; }
.quiz-results { display: flex; flex-direction: column; align-items: center; text-align: center; animation: quiz-pop .45s cubic-bezier(.2, .8, .2, 1); }
.quiz-signal { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle, #fde68a 0 45%, #facc15 46% 62%, #fef9c3 63%); box-shadow: 0 0 0 8px rgb(250 204 21 / 18%), 0 0 40px rgb(250 204 21 / 55%); font-size: 40px; }
.quiz-signal span { filter: brightness(0); }
.quiz-score { margin-top: 20px; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--blue); }
.quiz-results h2 { margin-top: 8px; font-size: 22px; font-weight: 800; }
.quiz-verdict { margin-top: 4px; font-size: 15px; color: var(--muted); }
.quiz-review { width: 100%; margin: 24px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.quiz-review li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--body); }
.quiz-review strong { color: var(--ink); font-weight: 600; }
.quiz-mark { flex-shrink: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 800; color: white; background: #94a3b8; }
.is-right .quiz-mark { background: #10b981; }
.is-wrong .quiz-mark { background: #ef4444; }
.is-opinion .quiz-mark { background: #f59e0b; }
.quiz-restart { width: 100%; margin-top: 20px; }
@keyframes quiz-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.section-space { padding-block: 96px; }
.section-heading { max-width: 768px; margin-inline: auto; text-align: center; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 16px; }
.section-heading h2 { font-size: 36px; font-weight: 700; line-height: 1.2; }
.section-heading > p:last-child:not(.eyebrow) { font-size: 18px; color: var(--body); margin-top: 16px; }
.features-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.feature-card { padding: 32px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgb(15 23 42 / 5%); transition: border-color .3s, box-shadow .3s; }
.feature-card:hover { border-color: #93c5fd; box-shadow: 0 16px 28px rgb(15 23 42 / 10%); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: var(--blue); background: #eff6ff; margin-bottom: 24px; transition: background .3s, color .3s; }
.feature-card:hover .feature-icon { background: var(--blue); color: white; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: -.015em; }
.feature-card p { font-size: 14px; color: var(--body); }


.site-footer { padding-block: 64px; background: var(--ink); border-top: 1px solid #1e293b; color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid #1e293b; }
.site-footer .brand-logo { width: 64px; height: 64px; box-shadow: 0 0 0 1px rgb(255 255 255 / 10%); }
.site-footer .brand-title { color: white; font-size: 18px; }
.footer-about p { max-width: 370px; font-size: 14px; margin-top: 16px; }
.site-footer nav h2 { color: white; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 600; margin-bottom: 16px; }
.site-footer nav a { display: block; width: fit-content; font-size: 14px; margin-top: 8px; line-height: 1.5; }
.site-footer a:hover { color: white; }
.footer-bottom { padding-top: 32px; display: flex; justify-content: flex-end; align-items: center; gap: 16px; font-size: 12px; color: var(--muted); }
.footer-bottom > div { display: flex; gap: 24px; }
.page-hero { padding: 80px 0 48px; text-align: center; background: linear-gradient(180deg, #eff6ff80, white); }
.page-hero .container { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.page-hero h1 { font-size: 56px; line-height: 1.1; font-weight: 800; }
.page-hero h1 span { background: linear-gradient(90deg, var(--blue), #4f46e5); background-clip: text; -webkit-background-clip: text; color: transparent; }
.page-hero p { max-width: 680px; font-size: 18px; color: var(--body); }
.carousel-section { padding-bottom: 32px; background: white; }
.carousel-details { background: var(--surface); }
.photo-credits { margin-top: 64px; padding: 32px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.photo-credits h2 { font-size: 18px; letter-spacing: -.015em; }
.photo-credits p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.photo-credits ul { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--body); }
.photo-credits a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.credit-card-section { padding-bottom: 64px; background: white; }
.credit-card-panel { padding: 40px; background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 48px -24px rgb(15 23 42 / 18%); }
.credit-card-notice { display: flex; align-items: flex-start; gap: 10px; max-width: 760px; margin: 24px auto 0; font-size: 13px; color: var(--muted); }
.credit-card-notice svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--blue); }
.hover-demos { padding-bottom: 80px; background: white; }
.hover-demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hover-demo { display: flex; flex-direction: column; gap: 20px; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 1px 2px rgb(15 23 42 / 5%); }
.hover-demo-wide { grid-column: 1 / -1; }
.hover-demo header h2 { font-size: 20px; letter-spacing: -.015em; }
.hover-demo header p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.hover-demo-stage { display: grid; place-items: center; min-height: 240px; border-radius: 14px; background: radial-gradient(circle at 1px 1px, #cbd5e1 1px, transparent 0) 0 0 / 20px 20px, var(--surface); }
.hover-demo-stage-compact { min-height: 200px; align-content: end; gap: 12px; padding-bottom: 28px; }
.hc-trigger-link { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: #cbd5e1; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.hc-trigger-link:hover, .hc-trigger-link:focus-visible { text-decoration-color: var(--ink); }
button.hc-trigger-link { padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }
.hc-avatar-glow { background: linear-gradient(135deg, #3b82f6, #6366f1 55%, #a855f7); box-shadow: 0 0 0 4px rgb(99 102 241 / 15%), 0 8px 20px rgb(99 102 241 / 35%); font-size: 22px; }
.hc-profile { display: flex; gap: 16px; }
.hc-avatar { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: white; font-size: 20px; font-weight: 700; }
.hc-avatar-dark { background: radial-gradient(circle at 30% 25%, #3f3f46, #09090b 70%); }
.hc-profile-body, .hc-side-card, .hc-preview { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hc-profile-body strong, .hc-side-card strong, .hc-preview strong { font-size: 14px; font-weight: 600; }
.hc-profile-body > span, .hc-side-card > span, .hc-preview > span:not(.hc-preview-banner) { color: var(--body); }
.hc-meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--muted) !important; }
.hc-meta svg { width: 14px; height: 14px; }
.hc-align-picker { display: inline-flex; align-self: flex-start; padding: 4px; gap: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.hc-align-picker button { min-height: 36px; padding: 6px 14px; border: 0; border-radius: 8px; background: transparent; color: var(--body); font-size: 13px; font-weight: 600; transition: background .2s, color .2s, box-shadow .2s; }
.hc-align-picker button.is-selected { background: white; color: var(--blue); box-shadow: 0 1px 3px rgb(15 23 42 / 12%); }
.hc-align-picker button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.hc-sides { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; min-height: 280px; }
.hc-side-button { min-width: 96px; }
.hc-prose { font-size: 17px; line-height: 2; color: var(--body); }
.hc-inline-link { font-weight: 600; color: var(--blue); text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 4px; }
.hc-inline-link:hover { text-decoration-style: solid; }
.hc-preview { gap: 6px; }
.hc-preview-banner { display: grid; place-items: center; height: 72px; margin: -4px -4px 6px; border-radius: 8px; background: linear-gradient(135deg, var(--hc-brand), color-mix(in srgb, var(--hc-brand) 55%, #0f172a)); color: white; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.hc-sliders { display: grid; gap: 16px; }
.hc-sliders label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; color: #334155; }
.hc-sliders label > span { display: flex; justify-content: space-between; }
.hc-sliders output { font-weight: 500; color: var(--blue); font-variant-numeric: tabular-nums; }
.hc-sliders input { width: 100%; accent-color: var(--blue); }
.hc-state { font-size: 13px; color: var(--muted); }
.hc-state strong { color: var(--body); }
.hc-state strong.is-open { color: #059669; }
.information-page { min-height: 55vh; background: white; }
.information-page h1 { font-size: 48px; }
.information-page p:not(.eyebrow) { max-width: 760px; color: var(--body); margin: 24px 0 32px; font-size: 18px; }

#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1000; padding: 16px 60px 16px 20px; background: #fef3c7; color: #78350f; box-shadow: 0 -2px 12px rgb(15 23 42 / 15%); }
#blazor-error-ui .reload { text-decoration: underline; margin-left: 12px; }
#blazor-error-ui .dismiss { position: absolute; right: 16px; top: 12px; background: transparent; border: none; padding: 4px; }
.loading-progress { position: absolute; display: block; width: 128px; height: 128px; inset: 20vh 0 auto; margin: auto; }
.loading-progress circle { fill: none; stroke: var(--line); stroke-width: 10px; transform-origin: 50% 50%; transform: rotate(-90deg); }
.loading-progress circle:last-child { stroke: var(--blue); stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * .8), 500%; transition: stroke-dasharray .05s ease-in-out; }
.loading-progress-text { position: absolute; text-align: center; font-weight: 600; inset: calc(20vh + 52px) 0 auto; }
.loading-progress-text::after { content: var(--blazor-load-percentage-text, "Loading"); }
@keyframes pulse { 50% { opacity: .45; } }

@media (max-width: 1100px) {
    .hero h1 { font-size: 50px; }
    .hero-actions .button { padding-inline: 24px; }
    .trust-indicators { gap: 16px; }
    .desktop-nav { gap: 22px; }
    .dashboard { padding: 24px; }
    .dashboard-title > span { font-size: 11px; }
}
@media (max-width: 1023px) {
    .hero { padding: 64px 0 96px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-copy { align-items: center; text-align: center; max-width: 720px; margin-inline: auto; }
    .hero h1 { font-size: 48px; }
    .trust-indicators { justify-content: center; gap: 32px; }
    .dashboard-wrap { width: 100%; max-width: 448px; margin-inline: auto; }
    .quiz-wrap { max-width: 560px; }
    .dashboard { padding: 32px; }
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hover-demo-grid { grid-template-columns: 1fr; }
}
.desktop-nav a { white-space: nowrap; }
@media (min-width: 960px) {
    .mobile-nav { display: none; }
}
@media (max-width: 959px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
}
@media (max-width: 767px) {
    .container { padding-inline: 24px; }
    .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-about { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 639px) {
    .container { padding-inline: 16px; }
    .site-header .brand-logo { width: 44px; height: 44px; }
    .site-header .brand-title { font-size: 16px; gap: 6px; }
    .hero h1 { font-size: 36px; }
    .hero-description { font-size: 18px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .button { width: 100%; }
    .trust-indicators { gap: 16px 24px; }
    .trust-indicators > span { width: 100%; }
    .dashboard { padding: 24px; }
    .section-heading h2 { font-size: 30px; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .information-page h1 { font-size: 36px; }
    .page-hero { padding: 56px 0 32px; }
    .page-hero h1 { font-size: 38px; }
    .page-hero p { font-size: 16px; }
    .photo-credits { padding: 24px; }
    .credit-card-panel { padding: 16px; border-radius: 20px; }
    .hover-demo { padding: 20px; }
    .hc-sides { gap: 12px; padding: 24px 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
