:root {
    --ink:    #0d1117;
    --ink2:   #374151;
    --muted:  #6b7280;
    --accent: #FF4D00;
    --accent2:#FFB800;
    --border: #e5e7eb;
    --bg:     #f5f4f0;
}
*, *::before, *::after { box-sizing: border-box; }
* { font-family: 'Inter', sans-serif; }
body { background: var(--bg); }
.font-syne, .font-heading { font-family: 'Space Grotesk', sans-serif; }

/* Material icon helper */
.mi {
    font-family: 'Material Icons Round';
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 1;
    vertical-align: middle;
    user-select: none;
    display: inline-block;
}

/* ── Buttons ─────────────────────────────────── */
.dg-btn {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: .875rem;
    padding: .75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: all .2s;
    cursor: pointer;
    border: none;
}
.dg-btn-primary { background: var(--accent); color: #fff; }
.dg-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,77,0,.3); color: #fff; }
.dg-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.2); }
.dg-btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.dg-btn-dark { background: var(--ink); color: #fff; }
.dg-btn-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); color: #fff; }

/* ── Cards ───────────────────────────────────── */
.dg-card { background: #fff; border-radius: 16px; border: 1px solid var(--border); transition: transform .25s, box-shadow .25s; }
.dg-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }

/* ── Inputs ──────────────────────────────────── */
.dg-input { width: 100%; padding: .75rem 1rem; background: #fff; border: 1px solid var(--border); border-radius: 10px; font-size: .875rem; transition: all .2s; outline: none; }
.dg-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,77,0,.1); }
.dg-label { display: block; font-family: 'Space Grotesk', sans-serif; font-size: .75rem; font-weight: 700; color: var(--ink); margin-bottom: .375rem; text-transform: uppercase; letter-spacing: .5px; }

/* ── Sections ────────────────────────────────── */
.dg-section { padding: 5rem 4rem; }
.dg-section-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: .75rem; }
.dg-section-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; color: var(--ink); letter-spacing: -1px; line-height: 1.1; margin-bottom: .5rem; }

/* ── Toast ───────────────────────────────────── */
@keyframes toastIn { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
.dg-toast { 
    animation: toastIn .4s ease-out;
    position: fixed;
    right: 1rem;
    top: 72px;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    max-width: 24rem;
    color: #fff;
}
.dg-toast-success { background: #059669; }
.dg-toast-error { background: #dc2626; }

/* ── Brand ───────────────────────────────────── */
.dg-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.dg-brand span { color: var(--accent); }


/* ── Navbar ──────────────────────────────────── */
.dg-nav {
    background: var(--ink);
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}
@media (min-width: 768px) { .dg-nav { padding: 0 2rem; } }

/* ── Hamburger ───────────────────────────────── */
#hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    transition: background .15s;
}
#hamburger:hover { background: rgba(255,255,255,.08); color: #fff; }
@media (min-width: 768px) { #hamburger { display: none; } }

/* ── Mobile Drawer ───────────────────────────── */
#mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    top: 60px;
    background: var(--ink);
    z-index: 99;
    padding: 1.25rem 1rem 2rem;
    flex-direction: column;
    gap: .125rem;
    overflow-y: auto;
}
#mobile-menu.open { display: flex; }

.mob-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem 1rem;
    border-radius: 10px;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: .9375rem;
    font-weight: 500;
    transition: all .15s;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
}
.mob-link:hover, .mob-link.active { background: rgba(255,255,255,.07); color: #fff; }
.mob-link .mi { font-size: 1.25rem; }
.mob-divider { height: 1px; background: rgba(255,255,255,.07); margin: .5rem 0; }

/* ── Social btns (footer) ────────────────────── */
.social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255,255,255,.4);
    transition: all .2s;
}
.social-btn:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,.15); }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) { .dg-section { padding: 3rem 2rem; } }
@media (max-width: 640px)  { .dg-section { padding: 2.5rem 1.25rem; } }
