:root {
    color-scheme: light;
    --background: #f5f6fb;
    --foreground: #1b2136;
    --card: #ffffff;
    --card-foreground: var(--foreground);
    --muted-foreground: #515b75;
    --accent: #e8eafb;
    --accent-foreground: #252d59;
    --border: #cdd3e6;
    --ring: #525ac7;
    --radius: 0.625rem;
    --brand: #3d46ae;
    --brand-mark: #ffffff;
}

.dark {
    color-scheme: dark;
    --background: #151927;
    --foreground: #edf0fb;
    --card: #202638;
    --card-foreground: var(--foreground);
    --muted-foreground: #b3bdd7;
    --accent: #303854;
    --accent-foreground: #edf0fb;
    --border: #46516e;
    --ring: #a4aaff;
    --brand: #a4aaff;
    --brand-mark: #151927;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--foreground);
    font-family: "Segoe UI", system-ui, sans-serif;
}

.shell-width {
    width: min(100% - 2rem, 72rem);
    margin-inline: auto;
}

.shell-header {
    border-bottom: 1px solid var(--border);
    background: var(--card);
}

.shell-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--foreground);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.product-link:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 4px;
}

.product-mark {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.375rem;
    background:
        linear-gradient(var(--brand-mark), var(--brand-mark)) 38% 59% / 2px 6px no-repeat,
        linear-gradient(var(--brand-mark), var(--brand-mark)) 50% 48% / 2px 11px no-repeat,
        linear-gradient(var(--brand-mark), var(--brand-mark)) 62% 54% / 2px 8px no-repeat,
        var(--brand);
}

.shell-main {
    padding-block: clamp(2rem, 8vw, 6rem);
}

.welcome {
    border-inline-start: 3px solid var(--brand);
    padding: clamp(1.25rem, 4vw, 3rem);
    background: var(--card);
    color: var(--card-foreground);
}

.welcome h1 {
    max-width: 26ch;
    margin: 0;
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.welcome p {
    margin: 1rem 0 0;
    color: var(--muted-foreground);
    line-height: 1.5;
}

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