@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --background: 48 25% 96%;
    --foreground: 0 0% 8%;
    --card: 48 22% 93%;
    --primary: 95 62% 60%;
    --primary-foreground: 0 0% 8%;
    --secondary: 48 20% 92%;
    --muted: 48 16% 90%;
    --muted-foreground: 0 0% 38%;
    --accent: 95 55% 50%;
    --border: 48 16% 86%;
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; border: 0 solid hsl(var(--border)); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "ss01", "cv11";
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; font-weight: 500; line-height: 1.2; }
p,ul,ol,figure,blockquote { margin: 0; padding: 0; }
ul,ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img,svg,video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
section { overflow-x: clip; }

/* ============================================================
   Layout: container
   ============================================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

/* ============================================================
   Display
   ============================================================ */
.block { display: block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.overflow-hidden { overflow: hidden; }
.whitespace-nowrap { white-space: nowrap; }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.z-50 { z-index: 50; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Flexbox */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0,.shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Gaps */
.gap-0 { gap: 0; }
.gap-1.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-2 { row-gap: 0.5rem; }
.gap-y-3 { row-gap: 0.75rem; }
.gap-y-10 { row-gap: 2.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-24 > * + * { margin-top: 6rem; }

/* Grid templates */
.grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12,minmax(0,1fr)); }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-9 { grid-column: span 9 / span 9; }
.col-span-12 { grid-column: span 12 / span 12; }

/* ============================================================
   Spacing — margin/padding
   ============================================================ */
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }
.mt-32 { margin-top: 8rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }
.mb-32 { margin-bottom: 8rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

/* Positioning offsets */
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-10 { left: 2.5rem; }
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-top-3 { top: -0.75rem; }
.-bottom-1 { bottom: -0.25rem; }

/* ============================================================
   Sizing
   ============================================================ */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1 { width: 0.25rem; }
.w-1\.5 { width: 0.375rem; }
.w-2 { width: 0.5rem; }
.w-5 { width: 1.25rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333%; }
.w-1\/4 { width: 25%; }
.w-2\/3 { width: 66.666%; }
.w-3\/4 { width: 75%; }
.w-\[80\%\] { width: 80%; }
.h-px { height: 1px; }
.h-1 { height: 0.25rem; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-2\.5 { height: 0.625rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-28 { height: 7rem; }
.h-full { height: 100%; }
.h-\[70\%\] { height: 70%; }
.max-w-md { max-width: 28rem; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-h-56 { max-height: 14rem; }
.max-h-64 { max-height: 16rem; }
.aspect-\[16\/9\] { aspect-ratio: 16/9; }
.aspect-\[4\/3\] { aspect-ratio: 4/3; }

/* ============================================================
   Typography
   ============================================================ */
.font-display { font-family: var(--font-display); }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-\[-0\.02em\] { letter-spacing: -0.02em; }
.tracking-\[-0\.03em\] { letter-spacing: -0.03em; }
.tracking-\[-0\.04em\] { letter-spacing: -0.04em; }
.tracking-\[-0\.05em\] { letter-spacing: -0.05em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.text-\[15px\] { font-size: 15px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.leading-\[0\.9\] { line-height: 0.9; }
.leading-\[1\.02\] { line-height: 1.02; }
.leading-\[1\.05\] { line-height: 1.05; }
.leading-\[1\.1\] { line-height: 1.1; }
.leading-\[1\.15\] { line-height: 1.15; }
.leading-\[1\.2\] { line-height: 1.2; }
.leading-\[1\.3\] { line-height: 1.3; }
.leading-\[1\.5\] { line-height: 1.5; }
.leading-\[1\.7\] { line-height: 1.7; }
.leading-\[1\.75\] { line-height: 1.75; }
.leading-\[1\.8\] { line-height: 1.8; }
.leading-\[1\.85\] { line-height: 1.85; }

/* ============================================================
   Colors
   ============================================================ */
.bg-background { background-color: hsl(var(--background)); }
.bg-background\/80 { background-color: hsl(var(--background) / 0.8); }
.bg-card { background-color: hsl(var(--card)); }
.bg-secondary\/60 { background-color: hsl(var(--secondary) / 0.6); }
.bg-muted { background-color: hsl(var(--muted)); }
.bg-muted\/30 { background-color: hsl(var(--muted) / 0.3); }
.bg-muted\/50 { background-color: hsl(var(--muted) / 0.5); }
.bg-foreground { background-color: hsl(var(--foreground)); }
.bg-foreground\/\[0\.03\] { background-color: hsl(var(--foreground) / 0.03); }
.bg-foreground\/10 { background-color: hsl(var(--foreground) / 0.1); }
.bg-foreground\/40 { background-color: hsl(var(--foreground) / 0.4); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-primary\/10 { background-color: hsl(var(--primary) / 0.1); }
.bg-primary\/20 { background-color: hsl(var(--primary) / 0.2); }
.bg-primary\/40 { background-color: hsl(var(--primary) / 0.4); }
.bg-muted-foreground\/30 { background-color: hsl(var(--muted-foreground) / 0.3); }
.bg-border { background-color: hsl(var(--border)); }
.bg-border\/60 { background-color: hsl(var(--border) / 0.6); }
.text-foreground { color: hsl(var(--foreground)); }
.text-foreground\/70 { color: hsl(var(--foreground) / 0.7); }
.text-foreground\/80 { color: hsl(var(--foreground) / 0.8); }
.text-foreground\/90 { color: hsl(var(--foreground) / 0.9); }
.text-background { color: hsl(var(--background)); }
.text-background\/60 { color: hsl(var(--background) / 0.6); }
.text-background\/70 { color: hsl(var(--background) / 0.7); }
.text-background\/80 { color: hsl(var(--background) / 0.8); }
.text-background\/90 { color: hsl(var(--background) / 0.9); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-muted-foreground\/30 { color: hsl(var(--muted-foreground) / 0.3); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }
.border-l-2 { border-left-width: 2px; }
.pl-5 { padding-left: 1.25rem; }
.border-border { border-color: hsl(var(--border)); }
.border-border\/40 { border-color: hsl(var(--border) / 0.4); }
.border-border\/50 { border-color: hsl(var(--border) / 0.5); }
.border-border\/60 { border-color: hsl(var(--border) / 0.6); }
.border-primary { border-color: hsl(var(--primary)); }
.border-current\/10 { border-color: hsl(var(--foreground) / 0.1); }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-card { box-shadow: 0 1px 30px -8px hsl(0 0% 8% / 0.08); }
.shadow-elevated { box-shadow: 0 20px 60px -20px hsl(0 0% 8% / 0.18); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }

/* Transitions */
.transition-colors { transition: color .3s, background-color .3s, border-color .3s; }
.transition-transform { transition: transform .3s; }
.transition-all { transition: all .3s; }
.duration-300 { transition-duration: .3s; }
.duration-500 { transition-duration: .5s; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:text-foreground:hover { color: hsl(var(--foreground)); }
.hover\:text-primary:hover { color: hsl(var(--primary)); }
.hover\:text-primary-foreground:hover { color: hsl(var(--primary-foreground)); }
.hover\:bg-primary:hover { background-color: hsl(var(--primary)); }
.hover\:bg-background:hover { background-color: hsl(var(--background)); }
.hover\:border-primary:hover { border-color: hsl(var(--primary)); }
.hover\:shadow-card:hover { box-shadow: 0 1px 30px -8px hsl(0 0% 8% / 0.08); }
.group:hover .group-hover\:text-primary { color: hsl(var(--primary)); }
.group:hover .group-hover\:text-primary-foreground { color: hsl(var(--primary-foreground)); }
.group:hover .group-hover\:bg-primary { background-color: hsl(var(--primary)); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }

/* ============================================================
   Responsive (md = 768px, lg = 1024px, sm = 640px)
   ============================================================ */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .sm\:inline { display: inline; }
    .sm\:hidden { display: none; }
    .sm\:text-8xl { font-size: 6rem; line-height: 1; }
}
@media (min-width: 768px) {
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .md\:items-end { align-items: flex-end; }
    .md\:items-center { align-items: center; }
    .md\:justify-between { justify-content: space-between; }
    .md\:justify-center { justify-content: center; }
    .md\:justify-end { justify-content: flex-end; }
    .md\:text-right { text-align: right; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .md\:grid-cols-12 { grid-template-columns: repeat(12,minmax(0,1fr)); }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:col-span-3 { grid-column: span 3 / span 3; }
    .md\:col-span-4 { grid-column: span 4 / span 4; }
    .md\:col-span-5 { grid-column: span 5 / span 5; }
    .md\:col-span-8 { grid-column: span 8 / span 8; }
    .md\:col-span-10 { grid-column: span 10 / span 10; }
    .md\:gap-8 { gap: 2rem; }
    .md\:gap-12 { gap: 3rem; }
    .md\:p-8 { padding: 2rem; }
    .md\:p-12 { padding: 3rem; }
    .md\:p-14 { padding: 3.5rem; }
    .md\:p-16 { padding: 4rem; }
    .md\:p-20 { padding: 5rem; }
    .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
    .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .md\:py-40 { padding-top: 10rem; padding-bottom: 10rem; }
    .md\:pb-16 { padding-bottom: 4rem; }
    .md\:pb-28 { padding-bottom: 7rem; }
    .md\:pb-32 { padding-bottom: 8rem; }
    .md\:pt-28 { padding-top: 7rem; }
    .md\:mt-24 { margin-top: 6rem; }
    .md\:mt-40 { margin-top: 10rem; }
    .md\:aspect-auto { aspect-ratio: auto; }
    .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
    .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12,minmax(0,1fr)); }
    .lg\:col-span-5 { grid-column: span 5 / span 5; }
    .lg\:col-span-6 { grid-column: span 6 / span 6; }
    .lg\:col-span-7 { grid-column: span 7 / span 7; }
    .lg\:col-start-7 { grid-column-start: 7; }
    .lg\:gap-24 { gap: 6rem; }
    .lg\:scale-105 { transform: scale(1.05); }
    .lg\:text-\[10rem\] { font-size: 10rem; line-height: 1; }
    .lg\:text-\[12rem\] { font-size: 12rem; line-height: 1; }
}

/* ============================================================
   Custom components (nav, btn, faq, marquee, reveal)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(0.22,1,0.36,1), transform .8s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: none; }

.nav-link { position: relative; }
.nav-link .underline { position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: hsl(var(--primary)); transition: width .5s cubic-bezier(0.22,1,0.36,1); }
.nav-link:hover .underline, .nav-link.active .underline { width: 100%; }
.nav-link.active { color: hsl(var(--foreground)); }

.btn-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    border-radius: 9999px;
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    padding: .625rem 1.25rem;
    font-size: 13px; font-weight: 500;
    transition: background-color .3s, color .3s;
}
.btn-pill:hover { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn-pill .arrow { transition: transform .3s; }
.btn-pill:hover .arrow { transform: translateX(2px); }
.btn-pill-lg { padding: 1rem 1.75rem; font-size: 14px; }

.marquee-track { display: flex; gap: 4rem; white-space: nowrap; animation: marquee 40s linear infinite; width: max-content; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
.dot-pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity: .4; } }

.faq-item { border-bottom: 1px solid hsl(var(--border)); }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; text-align: left; font-weight: 500; font-size: 1rem; transition: color .3s; }
.faq-trigger:hover { color: hsl(var(--primary)); }
.faq-trigger .chev { transition: transform .3s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-trigger .chev { transform: rotate(180deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-content { max-height: 800px; }
.faq-content-inner { padding-bottom: 1.5rem; font-size: .875rem; color: hsl(var(--muted-foreground)); line-height: 1.85; }
