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

:root {
  --color-bg: #f8fafc;
  --color-surface: rgba(255, 255, 255, 0.75);
  --color-surface-solid: #ffffff;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-soft: #94a3b8;
  --color-rule: rgba(15, 23, 42, 0.08);
  --color-rule-strong: rgba(15, 23, 42, 0.15);
  
  --color-accent: #4f46e5;
  --color-accent-strong: #3730a3;
  --color-accent-soft: #e0e7ff;
  --color-glow: rgba(79, 70, 229, 0.15);

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6rem;

  --content-max: 1000px;
  
  --border-radius-sm: 8px;
  --border-radius: 12px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px 0 var(--color-glow);
  
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background-color: var(--color-bg);
  /* Add a subtle modern mesh/glow effect in the background */
  background-image: 
    radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.07) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(56, 189, 248, 0.07) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(79, 70, 229, 0.07) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--color-text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "palt", "kern", "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent);
  text-decoration-thickness: 0.055em;
  text-underline-offset: 0.2em;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--color-accent-strong);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: white;
  z-index: 1000;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.site-wrap {
  width: min(var(--content-max), calc(100% - 2.5rem));
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Outfit", "Inter", sans-serif;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

p,
li {
  color: var(--color-text-muted);
}

main p {
  max-width: 72ch;
  font-size: 1.05rem;
}

address {
  font-style: normal;
}

ul,
ol {
  margin: 0;
  padding-left: 1.5rem;
}

main {
  margin-top: var(--space-4);
}

em,
i {
  font-style: italic;
}

strong {
  font-weight: 600;
  color: var(--color-text);
}

hr {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-rule-strong), transparent);
  margin: var(--space-6) 0;
}

.section-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.6;
  }

  .site-wrap {
    width: min(var(--content-max), calc(100% - 1.5rem));
  }

  h1 {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }
}
