@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Michroma&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #020617; /* Slate 950 */
    color: #f8fafc;
}

/* Smooth anchor scrolling only takes effect on the root element, not on body. */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

.font-logo {
    font-family: 'Michroma', sans-serif;
}

/* all.min.css is a purged Tailwind build: utilities the original page didn't use
   (e.g. not-italic) aren't present in it and render as no-ops, so define them here.
   Also, its max-w-2xs/xs/sm and flex-1 rules are dropped by the CSS parser (stray ';'
   after '}') - don't use those classes, and don't "fix" the semicolons, as that would
   activate a duplicate max-w-md rule with an undefined var(--container-md). */
address {
    font-style: normal;
}

/* Contact dialog (native <dialog>, see site.js): sizing and backdrop have no purged utilities. */
.contact-dialog {
    width: calc(100% - 2rem);
    max-width: 28rem;
}

.contact-dialog::backdrop {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

/* Custom Gradients */
.hero-gradient {
    background: radial-gradient(circle at center, #1e3a8a 0%, #020617 70%);
}

.tensor-grid {
    background-image: linear-gradient(rgba(30, 58, 138, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 138, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}
