/* isletme.page — Dark Obsidian Architectural Design Tokens (WCAG AAA/AA) */
:root {
  color-scheme: dark;
  --bg-root: #070A11;
  --bg-elev: #0B101C;
  --bg-card: #0E1422;
  --bg-card-hover: #131B2E;
  --bg-glass: rgba(7, 10, 17, 0.88);
  --bg-glass-heavy: rgba(7, 10, 17, 0.97);
  --bg-hover: rgba(255, 255, 255, 0.07);

  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.17);
  --border-accent: rgba(52, 211, 153, 0.36);
  --specular-top: inset 0 1px 0 rgba(255, 255, 255, 0.11);
  --shadow-card: var(--specular-top), 0 16px 40px rgba(0, 0, 0, 0.36);
  --shadow-elev: var(--specular-top), 0 24px 64px rgba(0, 0, 0, 0.5);

  --text-primary: #F3F6FC;
  --text-secondary: #A6B2C6;
  --text-muted: #8492A8;
  --text-ink: #070A11;

  --acc-emerald: #10B981;
  --acc-emerald-bright: #34D399;
  --acc-emerald-soft: rgba(16, 185, 129, 0.13);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --fs-xs: 0.78rem;
  --fs-sm: 0.88rem;
  --fs-base: clamp(1rem, 0.98rem + 0.12vw, 1.05rem);
  --fs-lead: clamp(1.04rem, 0.98rem + 0.28vw, 1.18rem);
  --fs-h3: clamp(1.12rem, 1.04rem + 0.35vw, 1.3rem);
  --fs-h2: clamp(1.65rem, 1.32rem + 1.3vw, 2.42rem);
  --fs-h1: clamp(2.05rem, 4.1vw, 3.45rem);

  --header-h: 68px;
  --container-max: 1180px;
  --container-px: clamp(16px, 4vw, 32px);
  --section-py: clamp(56px, 6.5vw, 88px);
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
}

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

html, body {
  overflow-x: clip;
  background: var(--bg-root);
  color: var(--text-primary);
  -webkit-text-size-adjust: 100%;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--acc-emerald-bright);
  outline-offset: 3px;
  border-radius: 8px;
}

.tabular { font-variant-numeric: tabular-nums; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 100;
  min-height: 44px; padding: 10px 18px; border-radius: var(--r-md);
  background: var(--acc-emerald-bright); color: #04130E; font-weight: 660;
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
