/* Shared visual foundation of the candidate website. */
:root {
    --background: hsl(0 0% 100%);
    --foreground: hsl(222 47% 11%);
    --card: rgba(255, 255, 255, 0.84);
    --card-strong: rgba(255, 255, 255, 0.94);
    --muted: hsl(220 14% 96%);
    --muted-foreground: hsl(220 9% 46%);
    --primary: hsl(29 100% 50%);
    --primary-dark: hsl(25 100% 45%);
    --primary-foreground: hsl(0 0% 100%);
    --accent: hsl(29 100% 97%);
    --accent-foreground: hsl(29 100% 40%);
    --success: hsl(142 71% 45%);
    --success-foreground: hsl(0 0% 100%);
    --border: hsl(220 13% 91%);
    --radius: 1rem;
    --gradient-warm: linear-gradient(135deg, hsl(0 0% 100%) 0%, hsl(30 30% 98%) 100%);
    --gradient-orange: linear-gradient(135deg, hsl(29 100% 50%) 0%, hsl(25 100% 55%) 100%);
    --gradient-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 247, 237, 0.94) 100%);
    --shadow-soft: 0 4px 24px -4px hsla(222, 47%, 11%, 0.06);
    --shadow-medium: 0 8px 32px -8px hsla(222, 47%, 11%, 0.12);
    --shadow-glow: 0 10px 44px -10px hsla(29, 100%, 50%, 0.30);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body.welcome-page {
    background:
        radial-gradient(circle at top left, rgba(255, 122, 0, 0.12), transparent 26rem),
        radial-gradient(circle at right 12%, rgba(34, 197, 94, 0.10), transparent 20rem),
        linear-gradient(180deg, #fffdf9 0%, #fff7ed 52%, #fffdf9 100%);
    color: var(--foreground);
    font-family: var(--app-font-sans);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    position: relative;
}

body.welcome-page.modal-open {
    overflow: hidden;
}

body.welcome-page::before,
body.welcome-page::after {
    border-radius: 1rem;
    content: "";
    filter: blur(24px);
    opacity: 0.6;
    pointer-events: none;
    position: fixed;
    z-index: 0;
}

body.welcome-page::before {
    background: rgba(255, 122, 0, 0.14);
    height: 16rem;
    left: -4rem;
    top: 6rem;
    width: 16rem;
}

body.welcome-page::after {
    background: rgba(34, 197, 94, 0.10);
    bottom: 4rem;
    height: 14rem;
    right: -3rem;
    width: 14rem;
}

.welcome-shell {
    --shell-block-padding: 1rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .welcome-shell {
        --shell-block-padding: 2rem;
    }
}

.welcome-card {
    background: var(--card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

#welcome-flow-start {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/*.welcome-card::before {
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.10), rgba(255, 255, 255, 0));
    content: "";
    inset: 0 auto auto 0;
    height: 8rem;
    pointer-events: none;
    position: absolute;
    width: 8rem;
}*/

.hero-card {
    background:
        radial-gradient(circle at top right, rgba(255, 122, 0, 0.14), transparent 18rem),
        radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.08), transparent 18rem),
        var(--gradient-soft);
    box-shadow: var(--shadow-medium);
}

.hero-grid {
    display: grid;
    gap: 2rem;
}

.hero-copy {
    max-width: 36rem;
}

.hero-logo-line {
    align-items: center;
    display: flex;
    margin-bottom: 2.5rem;
    min-height: 3em;
}

.hero-logo {
    display: block;
    filter: grayscale(1);
    height: auto;
    max-height: 3em;
    max-width: min(100%, 18rem);
    object-fit: contain;
}

.hero-title {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.hero-intro {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.hero-subtitle {
    color: #334155;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 700;
    line-height: 1.5;
    margin-top: 1rem;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 1.5rem;
}

.welcome-start-button {
    background: var(--gradient-orange);
    border: 0;
    border-radius: 1rem;
    box-shadow: var(--shadow-glow);
    color: #ffffff;
    display: inline-flex;
    font-size: 1.05rem;
    font-weight: 800;
    justify-content: center;
    min-height: 3.75rem;
    min-width: min(100%, 18rem);
    padding: 0.95rem 1.5rem;
}

.welcome-start-button:hover {
    filter: brightness(0.98);
    transform: translateY(-1px);
}
