/*
Theme Name: Tool Vertix
Theme URI: https://toolvertix.com
Author: Tool Vertix Team
Author URI: https://toolvertix.com
Description: An all-in-one free online tools and web utilities WordPress theme featuring online calculators, SEO tools, social media generators, and developer utilities with native client-side execution, interactive SVG charts, and 100% privacy. Zero framework runtime dependencies.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tool-vertix
Tags: online-tools, calculators, seo-tools, social-media, developer-utilities, responsive-layout, grid-layout, custom-menu, featured-images, full-width-template

(C) 2026 Tool Vertix. All rights reserved.
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES / DESIGN SYSTEM TOKENS
   Extracting the complete OKLCH palette with reliable RGB/HEX fallbacks
   ========================================================================== */

:root {
  /* Font Families */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', monospace;

  /* Border Radii */
  --radius-sm: 0.3125rem;
  --radius-md: 0.4375rem;
  --radius: 0.5rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.6875rem;
  --radius-2xl: 0.875rem;
  --radius-full: 9999px;

  /* Color Palette - Hex fallbacks followed by modern OKLCH tokens */
  --background: #fbfaf8;
  --background: oklch(0.984 0.004 85);

  --foreground: #19202c;
  --foreground: oklch(0.22 0.033 258);

  --surface: #f4f3f0;
  --surface: oklch(0.965 0.005 85);

  --surface-foreground: #19202c;
  --surface-foreground: oklch(0.22 0.033 258);

  --card: #ffffff;
  --card: oklch(1 0 0);

  --card-foreground: #19202c;
  --card-foreground: oklch(0.22 0.033 258);

  --popover: #ffffff;
  --popover: oklch(1 0 0);

  --popover-foreground: #19202c;
  --popover-foreground: oklch(0.22 0.033 258);

  --primary: #152238;
  --primary: oklch(0.245 0.045 258);

  --primary-foreground: #faf9f7;
  --primary-foreground: oklch(0.98 0.004 85);

  --secondary: #ebeef2;
  --secondary: oklch(0.945 0.008 250);

  --secondary-foreground: #232d3f;
  --secondary-foreground: oklch(0.3 0.035 258);

  --muted: #f0f2f5;
  --muted: oklch(0.955 0.006 250);

  --muted-foreground: #606a7b;
  --muted-foreground: oklch(0.52 0.024 254);

  --accent: #109e68;
  --accent: oklch(0.53 0.107 165);

  --accent-foreground: #fafafa;
  --accent-foreground: oklch(0.985 0.004 85);

  --positive: #109e68;
  --positive: oklch(0.53 0.107 165);

  --positive-foreground: #ffffff;
  --positive-foreground: oklch(0.985 0.004 85);

  --negative: #d63939;
  --negative: oklch(0.52 0.14 22);

  --negative-foreground: #ffffff;
  --negative-foreground: oklch(0.985 0.004 85);

  --destructive: #d63939;
  --destructive: oklch(0.52 0.14 22);

  --destructive-foreground: #ffffff;
  --destructive-foreground: oklch(0.985 0.004 85);

  --border: #dfe3e8;
  --border: oklch(0.9 0.008 252);

  --border-strong: #c8ced6;
  --border-strong: oklch(0.83 0.012 252);

  --input: #d7dbe2;
  --input: oklch(0.88 0.01 252);

  --ring: #109e68;
  --ring: oklch(0.53 0.107 165);

  /* Chart tokens */
  --chart-1: #109e68;
  --chart-1: oklch(0.53 0.107 165);

  --chart-2: #2b3e5a;
  --chart-2: oklch(0.35 0.055 258);

  --chart-3: #7d8b9d;
  --chart-3: oklch(0.62 0.028 254);

  --chart-4: #d97706;
  --chart-4: oklch(0.6 0.11 55);

  --chart-5: #d63939;
  --chart-5: oklch(0.52 0.14 22);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-panel: 0 1px 2px rgba(21, 34, 56, 0.06), 0 12px 32px -18px rgba(21, 34, 56, 0.18);
  --shadow-raise: 0 2px 4px rgba(21, 34, 56, 0.07), 0 22px 48px -24px rgba(21, 34, 56, 0.25);

  /* Container & Spacing */
  --page-max-width: 84rem;
  --header-height: 4.25rem;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   CSS RESET & CORE ELEMENTS
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  display: flex;
  flex-direction: column;
}

main#primary {
  flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--foreground);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.75rem); }
h2 { font-size: clamp(1.65rem, 2.5vw + 0.75rem, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.625rem); }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ==========================================================================
   CORE UTILITY CLASSES (Equivalent to Tailwind layout & design system)
   ========================================================================== */

.container-page {
  width: 100%;
  margin-inline: auto;
  max-width: var(--page-max-width);
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .container-page {
    padding-inline: 2rem;
  }
}

.num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.text-positive {
  color: var(--positive) !important;
}

.text-negative {
  color: var(--negative) !important;
}

.text-muted {
  color: var(--muted-foreground) !important;
}

.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;
}
