:root {
  color-scheme: light;

  --bg: #f8fafc;
  --bg-tint: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-subtle: #1e293b;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --text: #0f172a;
  --text-muted: #64748b;
  --text-on-dark: #f1f5f9;
  --text-muted-on-dark: #94a3b8;
  --border: #e2e8f0;
  --border-dark: rgba(148, 163, 184, 0.15);
  --hover-border: #cbd5e1;
  --placeholder: #94a3b8;
  --overlay-scrim: rgba(15, 23, 42, 0.4);
  --accent: #0f5b60;
  --accent-hover: #0b4a4f;
  --accent-soft: rgba(15, 91, 96, 0.1);
  --accent-text: #ffffff;
  --card-accent-border: rgba(15, 91, 96, 0.25);
  --card-accent-border-strong: rgba(15, 91, 96, 0.3);
  --ghost-border: rgba(255, 255, 255, 0.2);
  --ghost-border-hover: rgba(255, 255, 255, 0.4);
  --ghost-bg-hover: rgba(255, 255, 255, 0.06);
  --hero-badge-bg: rgba(255, 255, 255, 0.06);
  --hero-lead: #f1f5f9;
  --ring: rgba(15, 91, 96, 0.4);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);

  --transition-fast: 180ms ease;

  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Manrope", sans-serif;

  --nav-offset: 88px;
  --icon-size-sm: 18px;
  --icon-size-md: 20px;
  --icon-size-lg: 22px;
  --icon-stroke-regular: 1.75;
  --icon-stroke-strong: 1.9;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1220;
  --bg-tint: #0f182a;
  --bg-dark: #060d18;
  --bg-dark-subtle: #0e1627;
  --surface: #111a2b;
  --surface-strong: #10192a;
  --surface-glass: rgba(11, 18, 32, 0.82);
  --text: #e6edf7;
  --text-muted: #9fb1c7;
  --text-on-dark: #f7fbff;
  --text-muted-on-dark: #bdd0e4;
  --border: #27384f;
  --border-dark: rgba(159, 177, 199, 0.24);
  --hover-border: #3b4b64;
  --placeholder: #7f90aa;
  --overlay-scrim: rgba(3, 8, 18, 0.68);
  --accent: #1aa3ab;
  --accent-hover: #25b4bc;
  --accent-soft: rgba(46, 194, 201, 0.18);
  --accent-text: #05181b;
  --card-accent-border: rgba(46, 194, 201, 0.34);
  --card-accent-border-strong: rgba(46, 194, 201, 0.48);
  --ghost-border: rgba(191, 208, 227, 0.28);
  --ghost-border-hover: rgba(191, 208, 227, 0.52);
  --ghost-bg-hover: rgba(191, 208, 227, 0.1);
  --hero-badge-bg: rgba(191, 208, 227, 0.08);
  --hero-lead: #f7fbff;
  --ring: rgba(46, 194, 201, 0.42);

  --shadow-sm: 0 1px 2px rgba(2, 8, 20, 0.48);
  --shadow-md: 0 12px 28px rgba(2, 8, 20, 0.5);
  --shadow-lg: 0 22px 54px rgba(2, 8, 20, 0.58);
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-offset);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main {
  position: relative;
  flex: 1 0 auto;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

input,
textarea {
  font: inherit;
}

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1,
h2 {
  font-family: var(--font-display);
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
}

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 120;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.86rem;
  transform: translateY(-220%);
  transition: transform var(--transition-fast);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

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

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--text-on-dark);
}

.section--dark p,
.section--dark .kicker {
  color: var(--text-muted-on-dark);
}

.section--tinted {
  background: var(--bg-tint);
}
