/* ==========================================
   RESET
========================================== */

*,
*::before,
*::after{

margin:0;
padding:0;

box-sizing:border-box;

}

html{

font-size:16px;

scroll-behavior:smooth;

scroll-padding-top:120px;

-webkit-text-size-adjust:100%;

}

body{

font-family:var(--font-body);

background:var(--color-background);

color:var(--color-text);

line-height:var(--line-body);

text-rendering:optimizeLegibility;

-webkit-font-smoothing:antialiased;

overflow-x:hidden;

min-height:100vh;

}

/* ==========================================
   SELECTION
========================================== */

::selection{

background:var(--color-accent);

color:var(--color-background);

}

/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar{

width:12px;

}

::-webkit-scrollbar-track{

background:var(--color-background);

}

::-webkit-scrollbar-thumb{

background:var(--color-surface-3);

border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

background:var(--color-accent);

}

/* ==========================================
   MEDIA
========================================== */

img,
picture,
video,
canvas,
svg{

display:block;

max-width:100%;

}

img{

height:auto;

}

/* ==========================================
   TYPOGRAPHY
========================================== */

h1,
h2,
h3,
h4,
h5,
h6{

font-family:var(--font-heading);

line-height:var(--line-heading);

font-weight:var(--weight-bold);

letter-spacing:-0.02em;

}

h1{

font-size:clamp(
3rem,
6vw,
5.5rem
);

}

h2{

font-size:clamp(
2rem,
4vw,
3.5rem
);

}

h3{

font-size:clamp(
1.4rem,
3vw,
2rem
);

}

p{

font-size:var(--font-size-base);

color:var(--color-text-soft);

max-width:70ch;

}

.small{

font-size:var(--font-size-sm);

}

.text-muted{

color:var(--color-text-muted);

}

/* ==========================================
   LINKS
========================================== */

a{

color:inherit;

text-decoration:none;

transition:
color var(--transition-base);

}

a:hover{

color:var(--color-accent);

}

/* ==========================================
   LISTS
========================================== */

ul,
ol{

list-style:none;

}

/* ==========================================
   FORMS
========================================== */

input,
textarea,
select,
button{

font:inherit;

}

button{

cursor:pointer;

border:none;

background:none;

}

/* ==========================================
   CONTAINER
========================================== */

.container{

width:min(
100% - 2rem,
var(--container-xl)
);

margin-inline:auto;

}

/* ==========================================
   SECTIONS
========================================== */

section{

padding-block:
var(--section-padding-mobile);

position:relative;

}

@media(min-width:768px){

section{

padding-block:
var(--section-padding-desktop);

}

}

/* ==========================================
   HEADER HELPERS
========================================== */

.section-header{

text-align:center;

margin-bottom:4rem;

}

.section-header h2{

margin-bottom:1rem;

}

.section-header p{

margin-inline:auto;

}

/* ==========================================
   BUTTONS
========================================== */

.btn-primary,
.btn-secondary{

display:inline-flex;

align-items:center;

justify-content:center;

gap:.75rem;

height:var(--button-height);

padding-inline:
var(--button-padding-x);

border-radius:
var(--button-radius);

font-weight:
var(--weight-semibold);

transition:
all var(--transition-base);

}

.btn-primary{

background:
var(--gradient-primary);

color:white;

box-shadow:
var(--shadow-glow);

}

.btn-primary:hover{

transform:
translateY(-2px);

box-shadow:
var(--shadow-glow-strong);

}

.btn-secondary{

border:
1px solid var(--color-border);

background:
rgba(255,255,255,.02);

backdrop-filter:
blur(20px);

}

.btn-secondary:hover{

border-color:
var(--color-accent);

background:
rgba(0,229,255,.08);

}

.hero-actions{

display:flex;

gap:1rem;

flex-wrap:wrap;

margin-top:2rem;

}

/* ==========================================
   CARDS
========================================== */

.card{

background:
var(--gradient-card);

border:
1px solid var(--color-border);

border-radius:
var(--card-radius);

backdrop-filter:
blur(20px);

}

.glass{

background:
rgba(255,255,255,.03);

backdrop-filter:
blur(18px);

border:
1px solid rgba(255,255,255,.06);

}

/* ==========================================
   GRID UTILITIES
========================================== */

.grid{

display:grid;

gap:2rem;

}

.grid-2{

display:grid;

grid-template-columns:
repeat(2,1fr);

gap:2rem;

}

.grid-3{

display:grid;

grid-template-columns:
repeat(3,1fr);

gap:2rem;

}

.grid-4{

display:grid;

grid-template-columns:
repeat(4,1fr);

gap:2rem;

}

@media(max-width:1024px){

.grid-4{

grid-template-columns:
repeat(2,1fr);

}

}

@media(max-width:768px){

.grid-2,
.grid-3,
.grid-4{

grid-template-columns:
1fr;

}

}

/* ==========================================
   TAGS
========================================== */

.eyebrow{

display:inline-block;

font-size:.85rem;

font-weight:700;

letter-spacing:.25em;

text-transform:uppercase;

color:var(--color-accent);

margin-bottom:1rem;

}

/* ==========================================
   DIVIDERS
========================================== */

.divider{

height:1px;

background:
var(--color-border);

margin-block:4rem;

}

/* ==========================================
   ACCESSIBILITY
========================================== */

:focus-visible{

outline:
2px solid var(--color-accent);

outline-offset:
4px;

border-radius:
.25rem;

}

.sr-only{

position:absolute;

width:1px;

height:1px;

padding:0;

margin:-1px;

overflow:hidden;

clip:rect(0,0,0,0);

white-space:nowrap;

border:0;

}

/* ==========================================
   MOTION REDUCTION
========================================== */

@media(prefers-reduced-motion:reduce){

*{

animation:none !important;

transition:none !important;

scroll-behavior:auto !important;

}

}

/* ==========================================
   HERO BACKGROUND EFFECT
========================================== */

.hero-glow{

position:absolute;

inset:0;

background:
var(--gradient-hero);

z-index:-1;

pointer-events:none;

}

/* ==========================================
   SPACING HELPERS
========================================== */

.mt-1{margin-top:1rem;}
.mt-2{margin-top:2rem;}
.mt-3{margin-top:3rem;}

.mb-1{margin-bottom:1rem;}
.mb-2{margin-bottom:2rem;}
.mb-3{margin-bottom:3rem;}

.text-center{
text-align:center;
}

.hidden{
display:none;
}