/* GosRadar Design System — Primitive -> Semantic -> Component
   Harmonizes /brand-guidelines (Anthropic palette + Poppins) + /landing-page-design (B1-B11) + /ui-ux-pro-max */
@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600&family=Manrope:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  /* 1. Primitive Tokens */
  --prim-dark: #141413;
  --prim-light: #faf9f5;
  --prim-mid-gray: #b0aea5;
  --prim-light-gray: #e8e6dc;
  --prim-orange: #d97757;
  --prim-orange-hover: #c96646;
  --prim-blue: #6a9bcc;
  --prim-green: #788c5d;
  --prim-mint: #10B981;
  --prim-mint-dark: #0F766E;
  --prim-danger: #EF4444;
  --prim-danger-dark: #B91C1C;

  /* Flat Dark Surfaces (B4 allowed only) */
  --prim-dark-0: #000000;
  --prim-dark-warm: #131209;
  --prim-dark-1: #181818;
  --prim-dark-2: #1F1F1F;
  --prim-dark-3: #272727;
  --prim-dark-4: #313131;
  --prim-white: #FFFFFF;
  --prim-ink-muted-light: #525049;

  /* Typography */
  --font-sans: 'Poppins', 'Manrope', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;

  /* Spacing Scale (B2 — strict) */
  --sp-0: 0px;
  --sp-25: 2px;
  --sp-50: 4px;
  --sp-75: 8px;
  --sp-100: 12px;
  --sp-200: 16px;
  --sp-300: 24px;
  --sp-400: 32px;
  --sp-500: 40px;
  --sp-600: 48px;
  --sp-700: 64px;
  --sp-800: 80px;
  --sp-900: 96px;

  /* Corner Radii (B3 — Tailwind scale + nested formula) */
  --rad-sm: 4px;
  --rad-md: 6px;
  --rad-lg: 8px;
  --rad-xl: 12px;
  --rad-2xl: 16px;
  --rad-3xl: 24px;
  --rad-full: 9999px;

  /* Motion (B7 — base curve only) */
  --ease-base: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-layout: 500ms;
  --dur-hover: 300ms;
  --dur-reveal: 700ms;

  /* 2. Semantic Tokens (Default: Warm Editorial Dark) */
  --sem-bg-page: var(--prim-dark-warm);
  --sem-bg-alt: var(--prim-dark-1);
  --sem-bg-card: var(--prim-dark-2);
  --sem-bg-elevated: var(--prim-dark-3);
  --sem-bg-control: var(--prim-dark-4);
  --sem-nav-glass: rgba(24, 24, 24, 0.82);
  --sem-drawer-glass: rgba(19, 18, 9, 0.96);

  --sem-fg: var(--prim-light);
  --sem-fg-muted: var(--prim-mid-gray);
  --sem-border: rgba(176, 174, 165, 0.22);
  --sem-border-strong: rgba(176, 174, 165, 0.38);

  --sem-accent: var(--prim-orange);
  --sem-accent-hover: var(--prim-orange-hover);
  --sem-on-accent: var(--prim-dark);
  --sem-accent-blue: var(--prim-blue);
  --sem-accent-green: var(--prim-green);
  --sem-status-ok: var(--prim-mint);
  --sem-status-danger: var(--prim-danger);
  --sem-ring: var(--prim-orange);

  --hero-grad-from: #FFFFFF;
  --hero-grad-to: #9B9B9B;

  /* 3. Component Tokens */
  --comp-card-pad: var(--sp-200);
  --comp-card-rad: var(--rad-3xl);
  --comp-card-inner-rad: var(--rad-lg);
}

[data-theme="light"] {
  --sem-bg-page: var(--prim-light);
  --sem-bg-alt: var(--prim-light-gray);
  --sem-bg-card: var(--prim-white);
  --sem-bg-elevated: var(--prim-light);
  --sem-bg-control: var(--prim-light-gray);
  --sem-nav-glass: rgba(250, 249, 245, 0.86);
  --sem-drawer-glass: rgba(250, 249, 245, 0.98);

  --sem-fg: var(--prim-dark);
  --sem-fg-muted: var(--prim-ink-muted-light);
  --sem-border: rgba(20, 20, 19, 0.14);
  --sem-border-strong: rgba(20, 20, 19, 0.28);

  --sem-status-ok: var(--prim-mint-dark);
  --sem-status-danger: var(--prim-danger-dark);

  --hero-grad-from: #000000;
  --hero-grad-to: #666666;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background-color: var(--sem-bg-page);
  color: var(--sem-fg);
}

body {
  margin: var(--sp-0);
  font-family: var(--font-sans);
  font-style: normal;
  background-color: var(--sem-bg-page);
  color: var(--sem-fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color var(--dur-hover) var(--ease-base), color var(--dur-hover) var(--ease-base);
}

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

a {
  color: inherit;
}

button,
input,
select {
  font-family: var(--font-sans);
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--sem-ring);
  outline-offset: 2px;
}

/* Skip to content (B10) */
.skip-link {
  position: fixed;
  top: -100px;
  left: var(--sp-200);
  z-index: 1000;
  background-color: var(--sem-accent);
  color: var(--sem-on-accent);
  padding: var(--sp-75) var(--sp-200);
  border-radius: var(--rad-lg);
  text-decoration: none;
  transition: transform var(--dur-hover) var(--ease-base);
}

.skip-link:focus {
  top: var(--sp-200);
}

/* Named Text Styles (B1 — exact Tailwind scale, no italics, max 600/700) */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; margin: var(--sp-0); }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; margin: var(--sp-0); }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; margin: var(--sp-0); }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; margin: var(--sp-0); }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; text-wrap: balance; margin: var(--sp-0); }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; text-wrap: balance; margin: var(--sp-0); }

.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; margin: var(--sp-0); }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; margin: var(--sp-0); }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; margin: var(--sp-0); }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; margin: var(--sp-0); }
.title-5 { font-size: 12px; line-height: 16px; font-weight: 500; margin: var(--sp-0); }

.body-1 { font-size: 16px; line-height: 24px; font-weight: 600; text-wrap: pretty; margin: var(--sp-0); }
.body-2 { font-size: 16px; line-height: 24px; font-weight: 500; text-wrap: pretty; margin: var(--sp-0); }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; text-wrap: pretty; margin: var(--sp-0); }
.body-4 { font-size: 14px; line-height: 20px; font-weight: 600; text-wrap: pretty; margin: var(--sp-0); }
.body-5 { font-size: 14px; line-height: 20px; font-weight: 500; text-wrap: pretty; margin: var(--sp-0); }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; text-wrap: pretty; margin: var(--sp-0); }

.button-lg { font-size: 18px; line-height: 28px; font-weight: 600; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.button-xsm { font-size: 12px; line-height: 16px; font-weight: 600; }

.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }

.mono-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.text-muted {
  color: var(--sem-fg-muted);
}

.text-accent {
  color: var(--sem-accent);
}

.text-blue {
  color: var(--sem-accent-blue);
}

.text-ok {
  color: var(--sem-status-ok);
}

.text-danger {
  color: var(--sem-status-danger);
}

/* Layout Containers */
.gr-wrap {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--sp-300);
  padding-right: var(--sp-300);
}

.gr-section {
  padding-top: var(--sp-800);
  padding-bottom: var(--sp-800);
}

.gr-section-alt {
  background-color: var(--sem-bg-alt);
}

.gr-section-compact {
  padding-top: var(--sp-600);
  padding-bottom: var(--sp-600);
}

.gr-rule {
  height: 1px;
  width: 100%;
  background-color: var(--sem-border);
}

/* Floating Translucent Navbar (B7) */
.gr-nav-shell {
  position: sticky;
  top: var(--sp-200);
  z-index: 200;
  display: flex;
  justify-content: center;
  padding-left: var(--sp-200);
  padding-right: var(--sp-200);
  pointer-events: none;
}

.gr-nav-float {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-200);
  padding: var(--sp-75) var(--sp-100);
  border-radius: var(--rad-2xl);
  background-color: var(--sem-nav-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--sem-border);
  max-width: 100%;
}

.gr-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
  text-decoration: none;
  padding: var(--sp-50) var(--sp-75);
  border-radius: var(--rad-lg);
}

.gr-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--rad-lg);
  flex-shrink: 0;
}

.gr-nav-links {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-50);
}

.gr-nav-link {
  text-decoration: none;
  color: var(--sem-fg-muted);
  padding: var(--sp-75) var(--sp-100);
  border-radius: var(--rad-lg);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color var(--dur-hover) var(--ease-base), background-color var(--dur-hover) var(--ease-base);
}

.gr-nav-link:hover,
.gr-nav-link[aria-current="page"] {
  color: var(--sem-fg);
  background-color: var(--sem-bg-control);
}

.gr-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
}

/* Menu Toggle with Animated Lines (B7) */
.gr-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: var(--sp-0);
  border-radius: var(--rad-lg);
  border: 1px solid var(--sem-border);
  background-color: var(--sem-bg-elevated);
  color: var(--sem-fg);
  cursor: pointer;
  transition: background-color var(--dur-hover) var(--ease-base), transform var(--dur-hover) var(--ease-base);
}

.gr-burger-lines {
  width: 20px;
  height: 14px;
  position: relative;
}

.gr-burger-line {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: var(--rad-full);
  background-color: currentColor;
  transition: transform var(--dur-layout) var(--ease-base), opacity var(--dur-hover) var(--ease-base);
}

.gr-burger-line:nth-child(1) { top: 0; }
.gr-burger-line:nth-child(2) { top: 6px; }
.gr-burger-line:nth-child(3) { top: 12px; }

.gr-burger[aria-expanded="true"] .gr-burger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.gr-burger[aria-expanded="true"] .gr-burger-line:nth-child(2) { opacity: 0; }
.gr-burger[aria-expanded="true"] .gr-burger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Full-Height Mobile Drawer (B7) */
.gr-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 190;
  background-color: var(--sem-drawer-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-200);
  padding: var(--sp-800) var(--sp-300) var(--sp-400);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-layout) var(--ease-base);
}

.gr-mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gr-mobile-link {
  text-decoration: none;
  color: var(--sem-fg);
  padding: var(--sp-100) var(--sp-200);
  border-radius: var(--rad-xl);
  border: 1px solid var(--sem-border);
  background-color: var(--sem-bg-card);
  opacity: 0;
  transform: translateY(var(--sp-300));
  transition: transform var(--dur-layout) var(--ease-base), opacity var(--dur-layout) var(--ease-base), background-color var(--dur-hover) var(--ease-base);
}

.gr-mobile-drawer.is-open .gr-mobile-link {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons (B2: 8px 12px main padding + 44px touch target + B9 full states) */
.gr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-75);
  padding: var(--sp-75) var(--sp-100);
  min-height: 44px;
  border-radius: var(--rad-lg);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur-hover) var(--ease-base), color var(--dur-hover) var(--ease-base), border-color var(--dur-hover) var(--ease-base), transform var(--dur-hover) var(--ease-base);
}

.gr-btn:active {
  transform: scale(0.98);
}

.gr-btn-primary {
  background-color: var(--sem-accent);
  color: var(--sem-on-accent);
  padding: var(--sp-75) var(--sp-200);
}

.gr-btn-primary:hover {
  background-color: var(--sem-accent-hover);
  transform: translateY(-1px);
}

.gr-btn-secondary {
  background-color: var(--sem-bg-elevated);
  color: var(--sem-fg);
  border-color: var(--sem-border-strong);
}

.gr-btn-secondary:hover {
  background-color: var(--sem-bg-control);
}

.gr-btn-icon {
  width: 44px;
  height: 44px;
  padding: var(--sp-0);
  background-color: var(--sem-bg-elevated);
  color: var(--sem-fg);
  border: 1px solid var(--sem-border);
  border-radius: var(--rad-lg);
}

.gr-btn-icon:hover {
  background-color: var(--sem-bg-control);
}

.gr-ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.gr-ico-sm {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Hero Section (B5 — sole gradient on page, strictly on heading text) */
.gr-hero {
  padding-top: var(--sp-700);
  padding-bottom: var(--sp-800);
}

.gr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: var(--sp-500);
  align-items: center;
}

.gr-hero-copy {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-300);
  align-items: flex-start;
}

.gr-hero-title {
  max-width: 680px;
  background-image: linear-gradient(90deg, var(--hero-grad-from) 0%, var(--hero-grad-to) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gr-hero-sub {
  max-width: 680px;
  color: var(--sem-fg-muted);
}

.gr-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
  padding: var(--sp-50) var(--sp-100);
  border-radius: var(--rad-full);
  border: 1px solid var(--sem-border);
  background-color: var(--sem-bg-card);
  color: var(--sem-fg-muted);
}

.gr-dot-live {
  width: 8px;
  height: 8px;
  border-radius: var(--rad-full);
  background-color: var(--sem-status-ok);
  flex-shrink: 0;
}

.gr-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-200);
  padding-top: var(--sp-75);
}

.gr-proof-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-75);
  color: var(--sem-fg-muted);
}

/* Cards & Nested Radius (B3 + B4: 4-sided borders only, flat backgrounds) */
.gr-card-outer {
  background-color: var(--sem-bg-card);
  border: 1px solid var(--sem-border);
  border-radius: var(--comp-card-rad);
  padding: var(--comp-card-pad);
}

.gr-card-inner {
  background-color: var(--sem-bg-elevated);
  border: 1px solid var(--sem-border);
  border-radius: var(--comp-card-inner-rad);
  padding: var(--sp-200);
}

.gr-card-md {
  background-color: var(--sem-bg-card);
  border: 1px solid var(--sem-border);
  border-radius: var(--rad-2xl);
  padding: var(--sp-300);
  transition: border-color var(--dur-hover) var(--ease-base), transform var(--dur-hover) var(--ease-base);
}

.gr-card-md:hover {
  border-color: var(--sem-border-strong);
}

/* Grids */
.gr-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-300);
}

.gr-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-300);
}

.gr-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-200);
}

/* Live Lot X-Ray Scanner */
.gr-xray-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-75);
  margin-bottom: var(--sp-200);
}

.gr-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-50);
  padding: var(--sp-75) var(--sp-100);
  min-height: 44px;
  border-radius: var(--rad-lg);
  border: 1px solid var(--sem-border);
  background-color: var(--sem-bg-elevated);
  color: var(--sem-fg-muted);
  cursor: pointer;
  transition: background-color var(--dur-hover) var(--ease-base), color var(--dur-hover) var(--ease-base), border-color var(--dur-hover) var(--ease-base);
}

.gr-tab-btn:hover {
  color: var(--sem-fg);
}

.gr-tab-btn[aria-selected="true"] {
  background-color: var(--sem-bg-control);
  color: var(--sem-fg);
  border-color: var(--sem-accent);
}

.gr-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-50);
  padding: var(--sp-50) var(--sp-100);
  border-radius: var(--rad-full);
  border: 1px solid var(--sem-border);
  background-color: var(--sem-bg-control);
}

.gr-badge-ok {
  color: var(--sem-status-ok);
  border-color: var(--sem-status-ok);
}

.gr-badge-danger {
  color: var(--sem-status-danger);
  border-color: var(--sem-status-danger);
}

.gr-badge-blue {
  color: var(--sem-accent-blue);
  border-color: var(--sem-accent-blue);
}

.gr-xray-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-100);
  margin-top: var(--sp-200);
  margin-bottom: var(--sp-200);
}

.gr-metric-box {
  padding: var(--sp-100);
  border-radius: var(--rad-lg);
  border: 1px solid var(--sem-border);
  background-color: var(--sem-bg-card);
  display: flex;
  flex-direction: column;
  gap: var(--sp-50);
}

/* Mandatory Word-by-Word Tagline Reveal (B11) */
.gr-tagline-section {
  padding-top: var(--sp-900);
  padding-bottom: var(--sp-900);
}

.gr-tagline-wrap {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.reveal-word {
  display: inline-block;
  opacity: 0.28;
  transition: opacity var(--dur-layout) var(--ease-base), color var(--dur-layout) var(--ease-base);
}

.reveal-word.is-lit {
  opacity: 1;
}

/* Media Frames (Reels 9:16 + Carousel 4:5 + UI Shots) */
.gr-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: var(--sp-400);
  align-items: start;
}

.gr-reel-frame {
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--comp-card-inner-rad);
  overflow: hidden;
  background-color: var(--prim-dark-0);
  border: 1px solid var(--sem-border);
  position: relative;
}

.gr-reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gr-carousel-stage {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: var(--sp-300);
  align-items: center;
}

.gr-carousel-frame {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: var(--comp-card-inner-rad);
  overflow: hidden;
  background-color: var(--prim-dark-0);
  border: 1px solid var(--sem-border);
}

.gr-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gr-ui-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--comp-card-inner-rad);
  border: 1px solid var(--sem-border);
  background-color: var(--sem-bg-elevated);
}

/* Interactive Calculator & Form */
.gr-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-75);
}

.gr-input {
  width: 100%;
  min-height: 44px;
  padding: var(--sp-75) var(--sp-100);
  border-radius: var(--rad-lg);
  border: 1px solid var(--sem-border-strong);
  background-color: var(--sem-bg-page);
  color: var(--sem-fg);
  font-size: 16px;
  line-height: 24px;
  transition: border-color var(--dur-hover) var(--ease-base);
}

.gr-input:focus {
  border-color: var(--sem-accent);
}

.gr-input[aria-invalid="true"] {
  border-color: var(--sem-status-danger);
}

.gr-range {
  width: 100%;
  accent-color: var(--sem-accent);
  cursor: pointer;
}

.gr-form-feedback {
  min-height: 20px;
}

/* FAQ Accordion */
.gr-faq-list {
  display: grid;
  gap: var(--sp-100);
  max-width: 820px;
}

.gr-faq-item {
  background-color: var(--sem-bg-card);
  border: 1px solid var(--sem-border);
  border-radius: var(--rad-2xl);
  padding: var(--sp-200) var(--sp-300);
}

.gr-faq-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-200);
  cursor: pointer;
  min-height: 44px;
}

.gr-faq-summary::-webkit-details-marker {
  display: none;
}

.gr-faq-chevron {
  transition: transform var(--dur-hover) var(--ease-base);
  flex-shrink: 0;
}

.gr-faq-item[open] .gr-faq-chevron {
  transform: rotate(180deg);
}

.gr-faq-body {
  padding-top: var(--sp-100);
  color: var(--sem-fg-muted);
}

/* Scroll Reveal (B7) */
[data-reveal] {
  opacity: 0;
  transform: translateY(var(--sp-400));
  transition: opacity var(--dur-reveal) var(--ease-base), transform var(--dur-reveal) var(--ease-base);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.gr-footer {
  padding-top: var(--sp-600);
  padding-bottom: var(--sp-600);
  background-color: var(--sem-bg-alt);
}

.gr-footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-400);
}

.gr-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-200);
}

/* Responsive Breakpoints (1024px, 768px, 390px zero-overflow) */
@media (max-width: 1024px) {
  .gr-hero-grid,
  .gr-studio-grid,
  .gr-carousel-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .gr-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .gr-nav-links,
  .gr-nav-desktop-cta {
    display: none;
  }

  .gr-burger {
    display: inline-flex;
  }

  .gr-grid-2,
  .gr-grid-3,
  .gr-grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .heading-1 {
    font-size: 36px;
    line-height: 40px;
  }

  .heading-2 {
    font-size: 30px;
    line-height: 36px;
  }

  .heading-3 {
    font-size: 24px;
    line-height: 32px;
  }

  .gr-wrap {
    padding-left: var(--sp-200);
    padding-right: var(--sp-200);
  }

  .gr-section {
    padding-top: var(--sp-600);
    padding-bottom: var(--sp-600);
  }

  .gr-tagline-section {
    padding-top: var(--sp-700);
    padding-bottom: var(--sp-700);
  }

  .gr-hero {
    padding-top: var(--sp-400);
    padding-bottom: var(--sp-600);
  }

  .gr-xray-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal-word {
    opacity: 1;
    transition: none;
  }

  .gr-mobile-link {
    transform: none;
  }
}
