/* Font Face */
@font-face {
  font-family: 'Getboreg';
  src: url('../fonts/Getboreg-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.035) 1px, transparent 0);
  background-size: 32px 32px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

picture {
  display: block;
}

picture > img {
  width: 100%;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

[hidden] {
  display: none !important;
}

input, textarea, select {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: 0;
}

/* Ensure all page content sits above fixed blobs */
main, .navbar, .footer, section, .page-hero, .demo-page, .insights-page, .legal-page {
  position: relative;
  z-index: 1;
}

/* Layout utilities */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section--elevated {
  background-color: var(--color-bg-elevated);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, #7ed4dd 60%, #b8ecf1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: rgba(62, 131, 141, 0.12);
  border: 1px solid rgba(62, 131, 141, 0.3);
  border-radius: var(--radius-full);
  color: var(--color-primary-light);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Section header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-16);
}

.section-header h2 {
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.section-header p {
  font-size: clamp(1rem, 2vw, var(--text-lg));
  color: var(--color-white-60);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .container,
  .container--wide {
    padding-left: var(--space-5);
    padding-right: var(--space-5);
  }

  .section {
    padding: clamp(3.5rem, 12vw, 5rem) 0;
    overflow: hidden;
  }

  .section-header {
    margin-bottom: var(--space-10);
  }
}

@media (max-width: 480px) {
  .container,
  .container--wide {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .section-label {
    max-width: 100%;
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
  }
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--glass-border);
  margin: 0;
}

/* Visually hidden */
.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;
}
