:root{
    --bg: #08090b;
    --bg-raised: #0d0f12;
    --card: #121317;
    --card-hover: #17181d;
    --border: #24262c;
    --border-hover: #383b44;
    --text: #eef0f2;
    --muted: #8b909b;
    --muted-soft: #4d515a;
    --accent: #4f7dfb;
    --accent-bright: #6f95ff;
    --accent-soft: rgba(79, 125, 251, 0.12);
    --git: #3fd97f;
    --git-soft: rgba(63, 217, 127, 0.12);
    --error: #f0555c;
    --success: #3fd97f;

    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

    /* Échelle d'espacement */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 24px;
    --sp-6: 32px;
    --sp-7: 48px;
    --sp-8: 64px;
    --sp-9: 96px;

    /* Rayons */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 999px;
}

*{
    box-sizing: border-box;
}

html{
    background-color: var(--bg);
}

body{
    padding: 0;
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.045) 1px, transparent 0);
    background-size: 28px 28px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a:focus-visible,
button:focus-visible,
input:focus-visible{
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
    *{
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---------- NAV ---------- */

nav {
    height: 72px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    color: white;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid transparent;
}

nav h2 {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 15px;
    margin: 0;
    letter-spacing: -0.01em;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 2px;
}

nav h2::after{
    content: "_";
    color: var(--git);
    animation: blink 1.1s step-end infinite;
}

@keyframes blink{
    0%, 45%{ opacity: 1; }
    46%, 100%{ opacity: 0; }
}

.nav_links{
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav_link{
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav_link::before{
    content: "// ";
    color: var(--muted-soft);
}

.nav_link:hover{
    color: var(--text);
}

.nav_github{
    color: var(--muted);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav_github:hover{
    color: var(--text);
    background-color: var(--card);
    border-color: var(--border);
}

/* ---------- HERO ---------- */

.contain{
    background-color: transparent;
    min-height: calc(100vh - 72px);
    margin: 0;
    padding: var(--sp-7) var(--sp-5) var(--sp-9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.sign_up{
    width: fit-content;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-raised);
    border: 1px solid var(--border);
    color: var(--git);
    border-radius: var(--radius-sm);
    padding: 0 14px;
    margin-bottom: var(--sp-6);
    font-family: var(--font-mono);
}

.sign_up h2{
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--muted);
}

.sign_up h2::before{
    content: "❯ ";
    color: var(--git);
}

.circle_blue{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--git);
    margin-right: 9px;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(63, 217, 127, 0.7);
}

.titre_github{
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(34px, 5.4vw, 58px);
    font-weight: 600;
    width: 760px;
    max-width: 100%;
    text-align: center;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 var(--sp-4);
}

.description{
    color: var(--muted);
    width: 540px;
    max-width: 100%;
    text-align: center;
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 var(--sp-6);
}

.input_container{
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.input_github{
    height: 48px;
    width: 320px;
    border: 1px solid var(--border);
    background-color: var(--bg-raised);
    font-family: var(--font-mono);
    font-size: 14.5px;
    padding: 0 18px 0 34px;
    margin: 0;
    border-radius: var(--radius-md);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.input_container{
    position: relative;
}

.input_container::before{
    content: "❯";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--git);
    font-family: var(--font-mono);
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}

.input_github::placeholder{
    color: var(--muted-soft);
}

.input_github:focus{
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.fa-github{
    color: white;
}

.generate_bouton{
    height: 48px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    border-radius: var(--radius-md);
    border: none;
    background-color: var(--accent);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.generate_bouton:hover:not(:disabled){
    background-color: var(--accent-bright);
}

.generate_bouton:disabled{
    opacity: 0.5;
    cursor: not-allowed;
}

.generate_bouton i{
    font-size: 13px;
    transition: transform 0.3s ease;
}

.generate_bouton:hover i{
    transform: translateX(3px);
}

.hint_link{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--sp-5);
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hint_link i{
    font-size: 10px;
    transition: transform 0.2s ease;
}

.hint_link:hover{
    color: var(--text);
}

.hint_link:hover i{
    transform: translateY(2px);
}

/* ---------- REPO ERROR ---------- */

.repo_error{
    display: none;
    width: 320px;
    max-width: 100%;
    margin: var(--sp-3) 0 0;
    color: var(--error);
    font-family: var(--font-mono);
    font-size: 12.5px;
    text-align: center;
}

.repo_error::before{
    content: "! ";
}

.repo_error.is_visible{
    display: block;
}

/* ---------- REPO SELECTOR ---------- */

.repo_selector{
    display: none;
    width: 560px;
    max-width: 100%;
    margin-top: var(--sp-5);
    padding: var(--sp-5);
    background-color: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.repo_selector.is_visible{
    display: block;
    animation: repoFadeIn 0.25s ease;
}

@keyframes repoFadeIn{
    from{
        opacity: 0;
        transform: translateY(-6px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

.repo_selector_head{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: var(--sp-3);
}

.repo_selector_head h3{
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.repo_count{
    color: var(--git);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
}

.repo_list{
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    max-height: 272px;
    overflow-y: auto;
    padding-right: 4px;
}

.repo_list::-webkit-scrollbar{
    width: 6px;
}

.repo_list::-webkit-scrollbar-thumb{
    background-color: var(--border);
    border-radius: var(--radius-pill);
}

.repo_item{
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: 13px 14px;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-left: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}

.repo_item:hover{
    border-color: var(--border-hover);
}

.repo_item.selected{
    border-color: var(--border);
    border-left-color: var(--git);
    background-color: var(--git-soft);
}

.repo_item.disabled{
    opacity: 0.35;
    pointer-events: none;
}

.repo_check{
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    margin-top: 1px;
    border-radius: 5px;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    background-color: transparent;
    transition: all 0.15s ease;
}

.repo_item.selected .repo_check{
    background-color: var(--git);
    border-color: var(--git);
    color: #06120b;
}

.repo_check i{
    font-size: 9px;
}

.repo_info{
    min-width: 0;
    flex: 1;
}

.repo_name_row{
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.repo_name{
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.repo_badge{
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--accent-bright);
    background-color: var(--accent-soft);
    padding: 2px 8px;
    border-radius: 4px;
}

.repo_desc{
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- REPO SKILLS ---------- */

.repo_skills{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--sp-2);
}

.repo_skill_tag{
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted);
    padding: 3px 8px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.repo_item.selected .repo_skill_tag{
    border-color: rgba(63, 217, 127, 0.3);
    color: #a9edc2;
}

.generate_portfolio_btn{
    width: 100%;
    height: 48px;
    margin-top: var(--sp-4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    border: none;
    border-radius: var(--radius-md);
    background-color: var(--accent);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.generate_portfolio_btn i{
    font-size: 13px;
    transition: transform 0.3s ease;
}

.generate_portfolio_btn:hover:not(:disabled){
    background-color: var(--accent-bright);
}

.generate_portfolio_btn:hover:not(:disabled) i{
    transform: translateX(3px);
}

.generate_portfolio_btn:disabled{
    opacity: 0.35;
    cursor: not-allowed;
}

/* ---------- DEMO ---------- */

.demo_wrap{
    width: 100%;
    max-width: 860px;
    margin-top: var(--sp-8);
    padding: 0 4px;
}

.demo_frame{
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background-color: var(--card);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(79, 125, 251, 0.06),
        0 30px 80px -20px rgba(0, 0, 0, 0.75),
        0 0 120px -40px rgba(79, 125, 251, 0.3);
}

.demo_bar{
    height: 40px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    background-color: var(--bg-raised);
    border-bottom: 1px solid var(--border);
}

.demo_dot{
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: var(--border-hover);
}

.demo_url{
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 auto;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 11.5px;
    letter-spacing: -0.01em;
}

.demo_url i{
    font-size: 9px;
}

.demo_video_wrap{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at 30% 20%, rgba(79, 125, 251, 0.15), transparent 55%),
        linear-gradient(155deg, #0f1013 0%, #08090b 100%);
}

.demo_video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #08090b;
}

/* ---------- TIPS SECTION ---------- */

.tips{
    max-width: 1040px;
    margin: 0 auto;
    padding: var(--sp-9) var(--sp-5);
    border-top: 1px solid var(--border);
}

.tips_header{
    text-align: center;
    max-width: 540px;
    margin: 0 auto var(--sp-7);
}

.tips_eyebrow{
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--git);
    margin-bottom: var(--sp-3);
}

.tips_eyebrow::before{
    content: "// ";
    color: var(--muted-soft);
}

.tips_title{
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 var(--sp-3);
}

.tips_subtitle{
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.6;
    margin: 0;
}

.tips_grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 340px));
    justify-content: center;
    gap: var(--sp-5);
}

.tips_card{
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-6) var(--sp-5);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.tips_card:hover{
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.tips_icon{
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-soft);
    color: var(--accent-bright);
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: var(--sp-4);
}

.tips_card h3{
    color: var(--text);
    font-size: 15.5px;
    font-weight: 600;
    margin: 0 0 var(--sp-2);
}

.tips_card p{
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

.tips_card p em{
    display: block;
    margin-top: var(--sp-2);
    color: var(--text);
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 12.5px;
    font-weight: 400;
    background-color: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 10px;
}

.tips_cta{
    display: flex;
    justify-content: center;
    margin-top: var(--sp-7);
}

.tips_cta_link{
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 44px;
    padding: 0 var(--sp-5);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background-color: var(--card);
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.tips_cta_link i{
    font-size: 12px;
    color: var(--muted);
    transition: transform 0.2s ease;
}

.tips_cta_link:hover{
    border-color: var(--border-hover);
    background-color: var(--card-hover);
}

.tips_cta_link:hover i{
    transform: translate(2px, -2px);
}

/* ---------- WHY GITOG ---------- */

.why_gitog{
    max-width: 1040px;
    margin: 0 auto;
    padding: var(--sp-9) var(--sp-5);
    border-top: 1px solid var(--border);
    text-align: center;
}

.why_header{
    text-align: center;
    max-width: 540px;
    margin: 0 auto var(--sp-7);
}

.why_eyebrow{
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--git);
    margin-bottom: var(--sp-3);
}

.why_eyebrow::before{
    content: "// ";
    color: var(--muted-soft);
}

.why_title{
    color: var(--text);
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 600;
    letter-spacing: -0.02em;
    max-width: 540px;
    margin: 0 auto var(--sp-3);
}

.why_subtitle{
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto var(--sp-7);
}

.why_grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--sp-4);
    text-align: left;
}

.why_card{
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--sp-5) var(--sp-4);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.why_card:hover{
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.why_icon{
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-soft);
    color: var(--accent-bright);
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: var(--sp-3);
}

.why_card h3{
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
}

.why_card p{
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* ---------- NEWSLETTER ---------- */

.newsletter{
    max-width: 600px;
    margin: 0 auto;
    padding: var(--sp-9) var(--sp-5);
    text-align: center;
}

.newsletter_inner{
    padding: var(--sp-7) var(--sp-6);
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}
.repo_note{
    margin: -4px 0 var(--sp-3);
    color: var(--muted-soft);
    font-size: 11.5px;
    line-height: 1.4;
}
.newsletter_title{
    color: var(--text);
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 var(--sp-2);
}

.newsletter_subtitle{
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 var(--sp-5);
}

.newsletter_form{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
}

.hp_field{
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    left: -9999px;
}

.newsletter_input{
    height: 46px;
    width: 270px;
    max-width: 100%;
    border: 1px solid var(--border);
    background-color: var(--bg-raised);
    font-family: var(--font-body);
    font-size: 14px;
    padding: 0 16px;
    border-radius: var(--radius-md);
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease;
}

.newsletter_input::placeholder{
    color: var(--muted-soft);
}

.newsletter_input:focus{
    border-color: var(--accent);
}

.newsletter_input:disabled{
    opacity: 0.5;
    cursor: not-allowed;
}

.newsletter_input.is_invalid{
    border-color: var(--error);
}

.newsletter_input.is_invalid:focus{
    border-color: var(--error);
}

.newsletter_btn{
    height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    border-radius: var(--radius-md);
    border: none;
    background-color: var(--accent);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.newsletter_btn:hover:not(:disabled){
    background-color: var(--accent-bright);
}

.newsletter_btn:disabled{
    opacity: 0.5;
    cursor: not-allowed;
}

.newsletter_btn i{
    font-size: 12px;
    transition: transform 0.3s ease;
}

.newsletter_btn:hover:not(:disabled) i{
    transform: translateX(3px);
}

.newsletter_message{
    min-height: 16px;
    margin: var(--sp-3) 0 0;
    font-size: 13px;
    color: var(--muted);
}

.newsletter_message.is_success{
    color: var(--success);
}

.newsletter_message.is_error{
    color: var(--error);
}

/* ---------- FOOTER ---------- */

footer{
    width: 100%;
    text-align: center;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 88px;
    border-top: 1px solid var(--border);
    gap: var(--sp-3);
}

footer p{
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 12px;
    margin: 0;
}

footer a{
    text-decoration: none;
    margin: 0 10px;
    color: var(--muted);
    font-size: 13px;
    transition: color 0.2s ease;
}

footer a:hover{
    color: var(--text);
}

/* ============================================================
   ADD A PROJECT (manuel)
   ============================================================ */

.repo_add_trigger{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 13px 14px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    background-color: transparent;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.repo_add_trigger:hover{
    border-color: var(--border-hover);
    color: var(--text);
    background-color: rgba(255, 255, 255, 0.02);
}

.repo_add_trigger i{
    font-size: 11px;
}

.repo_add_form{
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    padding: var(--sp-4);
    background-color: var(--card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-md);
    animation: repoFadeIn 0.2s ease;
}

.repo_add_form_head{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.repo_add_form_head span{
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 500;
}

.repo_add_close{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 6px;
    color: var(--muted);
    background-color: transparent;
    font-size: 11px;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.repo_add_close:hover{
    color: var(--text);
    background-color: rgba(255, 255, 255, 0.05);
}

.repo_add_field label{
    display: block;
    margin: 0 0 6px;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.repo_add_input,
.repo_add_textarea{
    width: 100%;
    background-color: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 13.5px;
    padding: 9px 12px;
    margin: 0;
    outline: none;
    transition: border-color 0.15s ease;
}

.repo_add_input::placeholder,
.repo_add_textarea::placeholder{
    color: var(--muted-soft);
}

.repo_add_input:focus,
.repo_add_textarea:focus{
    border-color: var(--accent);
}

.repo_add_textarea{
    resize: none;
    min-height: 56px;
    line-height: 1.5;
    font-family: var(--font-body);
}

.repo_add_tags{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    width: 100%;
    background-color: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 7px 8px;
    transition: border-color 0.15s ease;
}

.repo_add_tags:focus-within{
    border-color: var(--accent);
}

.repo_add_tag{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 6px 3px 10px;
    background-color: var(--accent-soft);
    color: var(--accent-bright);
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    white-space: nowrap;
}

.repo_add_tag_remove{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border: none;
    background: transparent;
    color: var(--accent-bright);
    font-size: 9px;
    padding: 0;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.repo_add_tag_remove:hover{
    opacity: 1;
}

.repo_add_tags_input{
    flex: 1;
    min-width: 80px;
    border: none;
    background: transparent;
    outline: none;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 13.5px;
    padding: 4px 2px;
}

.repo_add_tags_input::placeholder{
    color: var(--muted-soft);
}

.repo_add_submit{
    height: 40px;
    border: none;
    border-radius: var(--radius-sm);
    background-color: var(--accent);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.repo_add_submit:hover:not(:disabled){
    background-color: var(--accent-bright);
}

.repo_add_submit:disabled{
    opacity: 0.35;
    cursor: not-allowed;
}

.repo_item.manual .repo_badge{
    color: var(--git);
    background-color: var(--git-soft);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {

    nav {
        padding: 0 20px;
    }

    .nav_link{
        display: none;
    }

    .titre_github {
        width: 100%;
    }

    .description {
        width: 100%;
        font-size: 15.5px;
    }

    .contain {
        padding: var(--sp-6) var(--sp-4) var(--sp-7);
    }

    .input_container {
        flex-direction: column;
        width: 100%;
        gap: var(--sp-3);
    }

    .input_github {
        width: 100%;
    }

    .generate_bouton {
        width: 100%;
    }

    .repo_selector{
        padding: var(--sp-4);
    }

    .demo_wrap{
        margin-top: var(--sp-6);
    }

    .tips{
        padding: var(--sp-7) var(--sp-4);
    }

    .tips_grid{
        grid-template-columns: 1fr;
        max-width: 340px;
        margin: 0 auto;
    }

    .why_gitog{
        padding: var(--sp-7) var(--sp-4);
    }

    .why_grid{
        grid-template-columns: 1fr;
    }

    .newsletter{
        padding: var(--sp-7) var(--sp-4);
    }

    .newsletter_inner{
        padding: var(--sp-5) var(--sp-4);
    }

    .newsletter_form{
        flex-direction: column;
        gap: var(--sp-3);
    }

    .newsletter_input{
        width: 100%;
    }

    .newsletter_btn{
        width: 100%;
    }
}