/* =======================================================
   base.css — resets + design tokens
   AVIO Website Template
   ======================================================= */

:root {
  /* palette */
  --ink: #0A0A0A;
  --ink-deep: #050505;
  --mute: #1A1F2B;
  --mute-2: #11151E;
  --surface: #F8F6F2;
  --surface-2: #ECEAE4;
  --accent: #4A8FE6;
  --accent-hover: #3A7AD0;
  --accent-deep: #2A5CB4;
  --accent-rgb: 74, 143, 230;
  --accent-light: #7AB8F2;
  --accent-light-rgb: 122, 184, 242;
  --accent-gradient: linear-gradient(135deg, #4A8FE6 0%, #7AB8F2 100%);
  --accent-gradient-hover: linear-gradient(135deg, #5C9BEC 0%, #8AC4F5 100%);
  --accent-glow: 0 0 24px -2px rgba(74, 143, 230, 0.55), 0 0 48px -8px rgba(122, 184, 242, 0.4);
  --muted-text: #5B6170;
  --muted-text-light: #5B6170;
  --muted-text-on-dark: #8B93A7;
  /* line tones — defaults are tuned for the now-default light theme;
     dark sections override these to white-on-dark below */
  --line: rgba(15, 23, 42, 0.08);
  --line-2: rgba(15, 23, 42, 0.14);
  --line-light: rgba(15, 23, 42, 0.08);
  --line-light-2: rgba(15, 23, 42, 0.14);
  --line-on-dark: rgba(255, 255, 255, 0.08);
  --line-on-dark-2: rgba(255, 255, 255, 0.14);

  /* type */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* layout */
  --container: 1240px;
  --container-wide: 1440px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur: 360ms;
  --dur-slow: 720ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #FFFFFF;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

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

ul, ol {
  list-style: none;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* on light surfaces use the deep amber so the focus ring stays visible */
.section--light :focus-visible,
.section--surface-2 :focus-visible,
.process :focus-visible,
.faq :focus-visible {
  outline-color: var(--accent-deep);
}

/* containers */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.container--wide {
  max-width: var(--container-wide);
}

/* sections */
section {
  position: relative;
}

.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--dark {
  background: var(--ink);
  color: var(--surface);
  --line: var(--line-on-dark);
  --line-2: var(--line-on-dark-2);
  --muted-text: var(--muted-text-on-dark);
}

.section--darker {
  background: var(--ink-deep);
  color: var(--surface);
  --line: var(--line-on-dark);
  --line-2: var(--line-on-dark-2);
  --muted-text: var(--muted-text-on-dark);
}

.section--mute {
  background: var(--mute);
  color: var(--surface);
  --line: var(--line-on-dark);
  --line-2: var(--line-on-dark-2);
  --muted-text: var(--muted-text-on-dark);
}

.section--light {
  background: var(--surface);
  color: var(--ink);
}

.section--surface-2 {
  background: var(--surface-2);
  color: var(--ink);
}

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

.is-hidden {
  display: none !important;
}
