:root,
[data-theme="light"] {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --color-bg: #f7f5f0;
  --color-surface: #fcfbf8;
  --color-surface-2: #f2eee7;
  --color-border: rgba(31, 32, 36, 0.12);
  --color-text: #17181c;
  --color-text-muted: #676b76;
  --color-primary: #0c7c66;
  --color-primary-2: #f7a928;
  --color-accent: #cb2f52;
  --color-inverse: #fff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.14);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "DM Serif Display", Georgia, serif;
}

[data-theme="dark"] {
  --color-bg: #0d1117;
  --color-surface: #131a22;
  --color-surface-2: #1a2330;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-text: #f4f7fb;
  --color-text-muted: #9aa4b1;
  --color-primary: #18b28f;
  --color-primary-2: #ffb545;
  --color-accent: #ff4d6d;
  --color-inverse: #071018;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  background:
    radial-gradient(circle at top left, rgba(24, 178, 143, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 181, 69, 0.12), transparent 24%),
    var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--color-bg) 76%, transparent);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: 18px 0;
}

.hero {
  padding: clamp(24px, 4vw, 48px) 0 var(--space-16);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.hero-copy {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}

.hero-panel {
  border-radius: var(--radius-xl);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    flex-wrap: wrap;
  }
}