/*
 * Project: RoboGenius — Coming Soon
 * Developed by: NovaCore
 * Copyright (c) 2026 RoboGenius.
 * All rights reserved.
 */

/* =========================================================
   BOX MODEL
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* =========================================================
   DOCUMENT
   ========================================================= */

html {
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

p {
    overflow-wrap: break-word;
}


/* =========================================================
   LINKS
   ========================================================= */

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   LISTS
   ========================================================= */

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================================================
   MEDIA
   ========================================================= */

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

iframe {
    display: block;
    max-width: 100%;
    border: 0;
}


/* =========================================================
   FORMS
   ========================================================= */

button,
input,
textarea,
select {
    margin: 0;
    font: inherit;
}

button,
select {
    text-transform: none;
}

button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

input,
textarea {
    border: 0;
}

textarea {
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: inherit;
    opacity: 1;
}


/* =========================================================
   TABLES
   ========================================================= */

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* =========================================================
   INTERACTIVE ELEMENTS
   ========================================================= */

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}