:root {
  /* Color/theme variables copied from the Lovable Tailwind CSS theme. */
  --background: oklch(0.13 0.01 270);
  --foreground: oklch(0.97 0.005 270);
  --muted-foreground: oklch(0.68 0.02 270);
  --neon-blue: oklch(0.72 0.22 250);
  --neon-violet: oklch(0.65 0.28 305);
  --gradient-brand: linear-gradient(135deg, var(--neon-blue), var(--neon-violet));
  --gradient-radial-glow: radial-gradient(ellipse at center, oklch(0.72 0.22 250 / 0.25), transparent 60%);
}

/* Base page reset and shared helpers. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.page { position: relative; min-height: 100vh; overflow-x: hidden; }
.glass {
  background: oklch(0.17 0.015 270 / 0.55);
  border: 1px solid oklch(1 0 0 / 0.08);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}
.text-gradient {
  background: var(--gradient-brand);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 6s ease infinite;
}

/* Background glow and grid behind the whole page. */
.page-backdrop { pointer-events: none; position: fixed; inset: 0; z-index: -1; }
.backdrop-glow { position: absolute; top: -160px; left: 50%; width: 1100px; height: 700px; transform: translateX(-50%); border-radius: 999px; opacity: .4; filter: blur(72px); background: var(--gradient-radial-glow); }
.backdrop-grid { position: absolute; inset: 0; opacity: .04; background-image: linear-gradient(var(--foreground) 1px, transparent 1px), linear-gradient(90deg, var(--foreground) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center top, black 30%, transparent 75%); }

/* Top navigation/header styles. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 16px 16px 0; }
.site-nav { max-width: 1152px; margin: 0 auto; border-radius: 16px; padding: 12px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.nav-left, .nav-actions, .brand, .nav-links { display: flex; align-items: center; }
.nav-left { display: contents; min-width: 0; }
.brand { gap: 8px; flex-shrink: 0; }
.brand-mark, .mini-mark { display: inline-flex; align-items: center; justify-content: center; background: var(--gradient-brand); color: var(--background); font-weight: 900; }
.brand-mark { width: 28px; height: 28px; border-radius: 6px; font-size: 11px; }
.mini-mark { width: 20px; height: 20px; border-radius: 4px; font-size: 9px; }
.brand-name { font-size: 18px; font-weight: 900; letter-spacing: 0; white-space: nowrap; }
.nav-links { justify-self: center; gap: 4px; }
.nav-links a { border-radius: 999px; padding: 6px 12px; color: var(--muted-foreground); font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(255,255,255,.05); color: var(--foreground); }
.nav-links a.active { background: rgba(255,255,255,.05); color: var(--foreground); font-weight: 700; }
.nav-actions { justify-self: end; gap: 12px; }
.search-trigger, .menu-trigger { width: 36px; height: 36px; border: 0; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--muted-foreground); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.search-trigger:hover, .menu-trigger:hover, .menu-trigger[aria-expanded="true"] { background: rgba(255,255,255,.1); color: var(--foreground); }
.search-trigger svg, .menu-trigger svg, .contact-pill svg, .primary-cta svg, .category-card svg { width: 16px; height: 16px; }
.menu-trigger { display: none; }
.mobile-menu { display: none; }
.contact-pill, .primary-cta { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--neon-blue), var(--neon-violet)); color: var(--background); font-size: 14px; font-weight: 700; transition: transform .2s; animation: pulse-glow 2.4s ease-in-out infinite; }
.contact-pill { padding: 8px 16px; }
.contact-pill:hover, .primary-cta:hover { transform: scale(1.03); }

/* Home hero and floating toolbox animation. */
.hero { position: relative; max-width: 1152px; min-height: 100svh; margin: 0 auto; padding: 144px 16px 96px; display: flex; align-items: center; justify-content: center; text-align: center; }
.floating-toolbox { pointer-events: none; position: absolute; inset: 0; overflow: hidden; container-type: size; transform: translateZ(0); }
.toolbox-core { position: absolute; left: 50%; top: 50%; width: 80%; height: 80%; max-width: 520px; max-height: 520px; transform: translate(-50%, -50%); border-radius: 999px; opacity: .7; filter: blur(48px); background: var(--gradient-radial-glow); }
.toolbox-core.violet { width: 40%; height: 40%; max-width: 260px; max-height: 260px; opacity: .5; background: radial-gradient(circle, var(--neon-violet), transparent 70%); }
.fly-icon { position: absolute; left: 50%; top: 50%; animation: fly-out var(--dur) ease-out infinite; animation-delay: var(--delay); will-change: transform; }
.fly-icon span { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--foreground); font-size: 12px; font-weight: 800; box-shadow: 0 0 24px oklch(0.72 0.22 250 / .45); }
.orbit-dot { position: absolute; animation: float-orbit 14s ease-in-out infinite; }
.orbit-dot span { display: block; border-radius: 999px; }
.orbit-one { left: 50%; top: 50%; --tx: 40px; --ty: -20px; }
.orbit-one span { width: 12px; height: 12px; box-shadow: 0 0 40px oklch(0.72 0.22 250 / .45); }
.orbit-two { left: 58%; top: 42%; --tx: -30px; --ty: 30px; animation-duration: 18s; }
.orbit-two span { width: 8px; height: 8px; box-shadow: 0 0 40px oklch(0.65 0.28 305 / .45); }
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 4px 12px; color: var(--muted-foreground); font-size: 12px; font-weight: 500; margin-bottom: 24px; }
.status-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--neon-blue); box-shadow: 0 0 40px oklch(0.72 0.22 250 / .45); }
h1 { max-width: 896px; margin: 0; font-size: clamp(44px, 9vw, 84px); line-height: 1.05; letter-spacing: 0; font-weight: 900; }
.hero p { max-width: 672px; margin: 24px 0 0; color: var(--muted-foreground); font-size: 18px; line-height: 1.65; }
.hero-actions { margin-top: 40px; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.primary-cta, .secondary-cta { padding: 12px 24px; font-size: 14px; font-weight: 700; }
.secondary-cta { border-radius: 999px; transition: background .2s; }
.secondary-cta:hover { background: rgba(255,255,255,.05); }

/* Trust bar and category directory cards. */
.trust-section, .categories-section { position: relative; z-index: 2; max-width: 1152px; margin: 0 auto; padding: 0 16px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-radius: 16px; padding: 8px; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 12px; padding: 16px; }
.trust-item span, .category-icon { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(135deg, oklch(0.72 0.22 250 / .2), oklch(0.65 0.28 305 / .2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.trust-item span { width: 36px; height: 36px; }
.trust-item strong { font-size: 14px; }

.categories-section { padding-top: 112px; padding-bottom: 112px; }
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading span, .manifesto-inner span, .footer-grid h3 { color: var(--muted-foreground); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.section-heading h2, .manifesto-inner h2 { margin: 12px 0 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.1; letter-spacing: 0; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.category-card { position: relative; overflow: hidden; width: 100%; display: flex; align-items: flex-start; gap: 20px; min-height: 154px; border-radius: 16px; padding: 28px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.category-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); box-shadow: 0 30px 80px -20px oklch(0.65 0.28 305 / .45); }
.card-glow { pointer-events: none; position: absolute; right: -80px; top: -80px; width: 224px; height: 224px; border-radius: 999px; opacity: 0; filter: blur(48px); background: var(--gradient-radial-glow); transition: opacity .5s; }
.category-card:hover .card-glow { opacity: .7; }
.category-icon { position: relative; flex: 0 0 auto; width: 56px; height: 56px; color: var(--foreground); font-size: 16px; font-weight: 800; }
.category-copy { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.category-copy strong { font-size: 20px; }
.category-copy small { color: var(--muted-foreground); font-size: 14px; line-height: 1.6; }
.category-card svg { position: relative; margin-top: 4px; opacity: 0; transform: translateX(-4px); transition: opacity .3s, transform .3s; }
.category-card:hover svg { opacity: 1; transform: translateX(0); }
.category-card-directory { border-color: oklch(0.72 0.22 250 / .24); }
.category-card-directory .card-glow { opacity: .45; }

/* Manifesto/SEO content section. */
.manifesto-section { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.05); }
.manifesto-inner { max-width: 896px; margin: 0 auto; padding: 96px 16px; }
.manifesto-inner p { margin: 24px 0 0; color: var(--muted-foreground); font-size: 18px; line-height: 1.7; }

/* Shared category page layout copied from the Lovable CategoryView component. */
.category-page { max-width: 1152px; margin: 0 auto; padding: 144px 16px 96px; }
.breadcrumbs { color: var(--muted-foreground); font-size: 14px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs a, .breadcrumbs span { display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; padding: 4px 8px; }
.breadcrumbs a { transition: background .2s, color .2s; }
.breadcrumbs a:hover { background: rgba(255,255,255,.05); color: var(--foreground); }
.breadcrumbs li:last-child span { color: var(--foreground); font-weight: 600; }
.breadcrumbs .separator { opacity: .5; }
.home-icon { font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.category-header { margin-top: 32px; display: flex; align-items: flex-start; gap: 24px; }
.category-header-icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, oklch(0.72 0.22 250 / .2), oklch(0.65 0.28 305 / .2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: var(--foreground); font-size: 15px; font-weight: 900; }
.category-header h1 { margin: 0; font-size: clamp(32px, 4vw, 40px); line-height: 1.1; letter-spacing: 0; }
.category-header p { max-width: 672px; margin: 8px 0 0; color: var(--muted-foreground); font-size: 16px; line-height: 1.7; }
.tool-list-section { margin-top: 48px; }
.tool-list-heading { margin-bottom: 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.tool-list-heading h2 { margin: 0; color: var(--muted-foreground); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.tool-list-heading span { color: var(--muted-foreground); font-size: 12px; }
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tool-card { position: relative; overflow: hidden; min-height: 66px; border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.tool-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.2); box-shadow: 0 10px 40px -12px oklch(0.72 0.22 250 / .55); }
.tool-card-glow { pointer-events: none; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; background: var(--gradient-radial-glow); }
.tool-card:hover .tool-card-glow { opacity: 1; }
.tool-icon { position: relative; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, oklch(0.72 0.22 250 / .2), oklch(0.65 0.28 305 / .2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: var(--foreground); font-size: 12px; font-weight: 900; transition: transform .2s; }
.tool-card:hover .tool-icon { transform: scale(1.1); }
.tool-card > span:not(.tool-card-glow):not(.tool-icon) { position: relative; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--foreground); font-size: 14px; font-weight: 600; }
.tool-card svg { position: relative; flex: 0 0 auto; width: 16px; height: 16px; color: var(--muted-foreground); opacity: 0; transform: translateY(-2px); transition: opacity .2s, transform .2s; }
.tool-card:hover svg { opacity: 1; transform: translateY(0); }
.tool-planning-note { margin: 0 0 16px; color: var(--muted-foreground); font-size: 13px; line-height: 1.6; }
.placeholder-tool-card { opacity: .78; }
.placeholder-tool-card .tool-icon { filter: grayscale(.25); }

/* Resources page article card layout copied from the Lovable Resources route. */
.resources-page { max-width: 1152px; margin: 0 auto; padding: 144px 16px 96px; }
.resources-header { max-width: 768px; margin-top: 40px; }
.resources-header > span { color: var(--muted-foreground); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.resources-header h1 { max-width: 768px; margin: 12px 0 0; font-size: clamp(40px, 6vw, 56px); line-height: 1.1; letter-spacing: 0; }
.resources-header p { margin: 20px 0 0; color: var(--muted-foreground); font-size: 18px; line-height: 1.7; }
.article-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 430px; border-radius: 16px; transition: transform .25s, border-color .25s; }
.article-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.article-art { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background-image: linear-gradient(135deg, oklch(0.72 0.22 250 / .4), oklch(0.65 0.28 305 / .3), transparent); }
.article-art-violet { background-image: linear-gradient(135deg, oklch(0.65 0.28 305 / .4), oklch(0.72 0.22 250 / .3), transparent); }
.article-art::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(var(--foreground) 1px, transparent 1px), linear-gradient(90deg, var(--foreground) 1px, transparent 1px); background-size: 32px 32px; }
.article-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, oklch(0.17 0.015 270 / .8), transparent); }
.article-body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.article-tag { width: fit-content; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.05); padding: 4px 10px; color: rgba(255,255,255,.8); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.article-body strong { color: var(--foreground); font-size: 18px; line-height: 1.35; letter-spacing: 0; }
.article-body small { color: var(--muted-foreground); font-size: 14px; line-height: 1.65; }
.article-meta { margin-top: auto; padding-top: 12px; color: var(--muted-foreground); font-size: 12px; }
.topic-callout { margin-top: 80px; }
.topic-panel { border-radius: 16px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topic-panel h2 { margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: 0; }
.topic-panel p { margin: 4px 0 0; color: var(--muted-foreground); font-size: 14px; line-height: 1.6; }

/* Resource article template layout copied from the Lovable article route. */
.article-page { max-width: 1152px; margin: 0 auto; padding: 144px 16px 96px; }
.article-header { max-width: 768px; margin: 40px auto 0; }
.article-header h1 { margin: 20px 0 0; font-size: clamp(40px, 6.5vw, 72px); line-height: 1.1; letter-spacing: 0; }
.author-card { margin-top: 40px; border-radius: 16px; padding: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.author-avatar { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 999px; background: var(--gradient-brand); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.author-copy { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 4px; }
.author-copy strong { font-size: 14px; }
.author-copy span, .publish-meta { color: var(--muted-foreground); font-size: 12px; }
.publish-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.article-layout { margin-top: 64px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; }
.toc { display: block; }
.toc > div { position: sticky; top: 128px; }
.toc h2 { margin: 0; color: var(--muted-foreground); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.toc ul { list-style: none; margin: 16px 0 0; padding: 0 0 0 16px; border-left: 1px solid rgba(255,255,255,.1); }
.toc li + li { margin-top: 8px; }
.toc a { display: block; border-radius: 8px; padding: 4px 0; color: var(--muted-foreground); font-size: 14px; transition: color .2s; }
.toc a:hover { color: var(--foreground); }
.article-content { width: 100%; max-width: 768px; margin: 0 auto; color: rgba(255,255,255,.9); font-size: 17px; line-height: 1.8; }
.article-content section { scroll-margin-top: 128px; }
.article-content section + section { margin-top: 40px; }
.article-content h2 { margin: 0 0 16px; color: var(--foreground); font-size: 24px; line-height: 1.3; letter-spacing: 0; }
.article-content p { margin: 0; }
.article-content p + p { margin-top: 16px; }
.article-content blockquote { margin: 32px 0; border-left: 2px solid oklch(0.65 0.28 305 / .6); background: rgba(255,255,255,.03); padding: 12px 16px 12px 24px; color: rgba(255,255,255,.95); font-size: 18px; font-style: italic; line-height: 1.7; }
.article-content pre { margin: 24px 0 0; overflow-x: auto; border-radius: 12px; padding: 20px; color: rgba(255,255,255,.9); font-size: 14px; line-height: 1.6; }
.article-content code { border-radius: 6px; background: rgba(255,255,255,.1); padding: 2px 6px; color: var(--foreground); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.article-content pre code { display: block; background: transparent; padding: 0; white-space: pre; }
.article-cta { position: relative; margin-top: 80px; overflow: hidden; border-radius: 24px; }
.article-cta-bg { position: absolute; inset: 0; opacity: .9; background: var(--gradient-brand); }
.article-cta-content { position: relative; border-radius: 24px; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; animation: pulse-glow 2.4s ease-in-out infinite; }
.article-cta-content span { display: inline-flex; width: fit-content; border-radius: 999px; background: rgba(0,0,0,.18); padding: 4px 12px; color: var(--background); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.article-cta-content h3 { margin: 16px 0 0; color: var(--background); font-size: 30px; line-height: 1.15; letter-spacing: 0; }
.article-cta-content p { margin: 8px 0 0; color: oklch(0.13 0.01 270 / .85); font-size: 16px; line-height: 1.5; }
.article-cta-content a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; border-radius: 999px; background: var(--background); padding: 12px 24px; color: var(--foreground); font-size: 14px; font-weight: 800; box-shadow: 0 20px 60px rgba(0,0,0,.25); transition: transform .2s; }
.article-cta-content a:hover { transform: scale(1.04); }
.article-cta-content svg { width: 16px; height: 16px; }

/* Temporary coming soon landing page for Hostinger deployment. */
.coming-soon-page { min-height: calc(100vh - 96px); display: flex; align-items: center; justify-content: center; padding: 80px 16px 40px; text-align: center; }
.coming-soon-hero { max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.coming-soon-brand { justify-content: center; margin-bottom: 28px; }
.coming-soon-hero h1 { max-width: 880px; margin: 0; font-size: clamp(44px, 8vw, 82px); line-height: 1.05; letter-spacing: 0; }
.coming-soon-hero p { max-width: 720px; margin: 24px 0 0; color: var(--muted-foreground); font-size: 18px; line-height: 1.7; }
.coming-soon-points { width: 100%; margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.coming-soon-game { width: 100%; max-width: 720px; margin-top: 48px; padding: 24px 20px 20px; text-align: center; }
.coming-soon-game h2 { margin: 0; font-size: clamp(20px, 4vw, 26px); letter-spacing: 0; }
.coming-soon-game .game-hint { margin: 10px 0 0; color: var(--muted-foreground); font-size: 14px; line-height: 1.5; }
.coming-soon-game canvas { display: block; width: 100%; max-width: 680px; height: auto; margin: 16px auto 0; border-radius: 16px; background: oklch(0.12 0.02 270 / .85); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); cursor: grab; touch-action: none; }
.coming-soon-game canvas:active { cursor: grabbing; }
.coming-soon-game .game-stats { margin: 14px 0 0; color: var(--muted-foreground); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.coming-soon-game .game-stats strong { color: var(--primary); font-size: 18px; font-weight: 800; }
.coming-soon-footer { border-top: 0; }

/* Individual tool page layout copied from the dynamic Lovable tools.$slug route. */
.tool-page { max-width: 1024px; margin: 0 auto; padding: 144px 16px 96px; }
.tool-header { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tool-title-row { display: flex; align-items: center; gap: 16px; }
.tool-page-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, oklch(0.72 0.22 250 / .2), oklch(0.65 0.28 305 / .2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 16px; font-weight: 900; }
.tool-header h1 { margin: 0; font-size: clamp(28px, 4vw, 36px); line-height: 1.1; letter-spacing: 0; }
.tool-header p { margin: 4px 0 0; color: var(--muted-foreground); font-size: 14px; }
.tool-status { margin: 0; align-self: flex-start; }
.tool-workspace { position: relative; margin-top: 40px; overflow: hidden; border-radius: 24px; padding: 4px; box-shadow: 0 30px 80px -30px oklch(0.72 0.22 250 / .45); }
.tool-workspace-glow { pointer-events: none; position: absolute; right: -128px; top: -128px; width: 288px; height: 288px; border-radius: 999px; opacity: .5; filter: blur(48px); background: var(--gradient-radial-glow); }
.tool-workspace-inner { position: relative; min-height: 420px; border-radius: 22px; background: oklch(0.13 0.01 270 / .4); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 24px; text-align: center; }
.loader-ring { width: 48px; height: 48px; border-radius: 999px; border: 2px solid rgba(255,255,255,.14); border-top-color: var(--foreground); animation: spin 1s linear infinite; background: linear-gradient(135deg, oklch(0.72 0.22 250 / .15), oklch(0.65 0.28 305 / .15)); }
.workspace-label { margin: 20px 0 0; color: var(--muted-foreground); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; letter-spacing: 0; }
.workspace-note { max-width: 448px; margin: 8px 0 0; color: oklch(0.68 0.02 270 / .8); font-size: 12px; line-height: 1.6; }
.tool-docs { margin-top: 80px; display: flex; flex-direction: column; gap: 64px; }
.tool-docs h2 { margin: 0; color: var(--foreground); font-size: clamp(26px, 4vw, 36px); line-height: 1.2; letter-spacing: 0; }
.tool-docs h3 { margin: 28px 0 0; color: var(--foreground); font-size: 18px; line-height: 1.3; letter-spacing: 0; }
.tool-docs p { margin: 16px 0 0; color: var(--muted-foreground); font-size: 16px; line-height: 1.7; }
.tool-docs h3 + p { margin-top: 12px; font-size: 14px; }
.step-list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.step-list li { display: flex; gap: 12px; align-items: flex-start; }
.step-list span { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--gradient-brand); color: var(--background); font-size: 11px; font-weight: 900; }
.step-list p { margin: 0; font-size: 14px; }
.use-case-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.use-case-card { border-radius: 16px; padding: 20px; }
.use-case-card h3 { margin: 0; font-size: 16px; }
.use-case-card p { margin-top: 8px; font-size: 14px; }
.faq-list { margin-top: 24px; border-radius: 16px; padding: 0 20px; }
.faq-list details { border-bottom: 1px solid rgba(255,255,255,.1); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { cursor: pointer; padding: 18px 0; color: var(--foreground); font-size: 14px; font-weight: 700; }
.faq-list details p { margin: 0; padding: 0 0 18px; font-size: 14px; }
.json-tool { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border-radius: 22px; background: oklch(0.13 0.01 270 / .4); padding: 20px; }
.tool-panel { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.tool-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tool-panel-header label { color: var(--foreground); font-size: 13px; font-weight: 800; }
.tool-panel-header button, .tool-controls button { border: 0; cursor: pointer; }
.tool-panel-header button { border-radius: 999px; background: rgba(255,255,255,.06); color: var(--foreground); padding: 7px 10px; font: inherit; font-size: 12px; font-weight: 700; }
.tool-panel textarea { width: 100%; min-height: 340px; resize: vertical; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(0,0,0,.22); color: var(--foreground); padding: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6; outline: 0; }
.tool-panel textarea:focus, .tool-controls input:focus { border-color: oklch(0.72 0.22 250 / .6); box-shadow: 0 0 0 3px oklch(0.72 0.22 250 / .12); }
.tool-controls { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: end; gap: 14px; }
.tool-controls label { display: grid; gap: 6px; color: var(--muted-foreground); font-size: 12px; font-weight: 700; }
.tool-controls input { width: 220px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(0,0,0,.22); color: var(--foreground); padding: 10px 12px; font: inherit; outline: 0; }
.tool-message { margin: 0; color: var(--muted-foreground); font-size: 13px; }

/* Pricing page layout copied from the Lovable pricing route. */
.pricing-page { max-width: 1024px; margin: 0 auto; padding: 144px 16px 96px; }
.pricing-header { text-align: center; }
.pricing-header h1 { margin: 0 auto; font-size: clamp(34px, 5vw, 56px); line-height: 1.1; letter-spacing: 0; }
.pricing-header p { max-width: 576px; margin: 16px auto 0; color: var(--muted-foreground); font-size: 18px; line-height: 1.7; }
.pricing-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pricing-card { position: relative; overflow: hidden; border-radius: 16px; padding: 24px; }
.pricing-card-content { position: relative; }
.pricing-glow { pointer-events: none; position: absolute; right: -80px; top: -80px; width: 224px; height: 224px; border-radius: 999px; opacity: .3; filter: blur(48px); background: var(--gradient-radial-glow); }
.pricing-card-pro { border: 1px solid oklch(0.65 0.28 305 / .4); background: oklch(0.17 0.015 270 / .6); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px oklch(0.65 0.28 305 / .3); }
.pricing-pro-bg { pointer-events: none; position: absolute; inset: 0; opacity: .4; background: radial-gradient(ellipse at top right, oklch(0.65 0.28 305 / .25), transparent 60%); }
.pricing-plan-head, .pricing-plan-title { display: flex; align-items: center; gap: 12px; }
.pricing-plan-head-pro { justify-content: space-between; }
.pricing-icon { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, oklch(0.72 0.22 250 / .2), oklch(0.65 0.28 305 / .2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 11px; font-weight: 900; }
.pricing-plan-head h2 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: 0; }
.pricing-plan-head p { margin: 2px 0 0; color: var(--muted-foreground); font-size: 14px; }
.plan-badge { border: 1px solid oklch(0.65 0.28 305 / .3); border-radius: 999px; background: oklch(0.65 0.28 305 / .15); color: var(--neon-violet); padding: 4px 10px; font-size: 11px; font-weight: 800; }
.price-line { margin-top: 24px; display: flex; align-items: baseline; gap: 6px; }
.price-line strong { font-size: 42px; line-height: 1; letter-spacing: 0; }
.price-line span, .yearly-price { color: var(--muted-foreground); font-size: 14px; }
.yearly-price { margin: 8px 0 0; }
.feature-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; }
.feature-list span { color: var(--neon-blue); font-weight: 900; }
.pricing-card-pro .feature-list span { color: var(--neon-violet); }
.secondary-plan-cta, .plan-cta { width: 100%; margin-top: 32px; justify-content: center; }
.secondary-plan-cta { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.05); padding: 12px 20px; color: var(--foreground); font-size: 14px; font-weight: 800; transition: background .2s; }
.secondary-plan-cta:hover { background: rgba(255,255,255,.1); }
.secondary-plan-cta svg, .plan-cta svg { width: 16px; height: 16px; }
.pricing-trust { margin-top: 64px; text-align: center; }
.pricing-trust p { color: var(--muted-foreground); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }

/* About page manifesto layout copied from the Lovable about route. */
.about-page { max-width: 768px; margin: 0 auto; padding: 144px 16px 96px; }
.about-header { margin-top: 40px; }
.about-header > span, .about-pillars > h2 { color: var(--muted-foreground); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.about-header h1 { margin: 12px 0 0; font-size: clamp(40px, 6vw, 56px); line-height: 1.1; letter-spacing: 0; }
.about-header p { margin: 24px 0 0; color: var(--muted-foreground); font-size: 18px; line-height: 1.75; }
.about-header p + p { margin-top: 16px; font-size: 16px; }
.about-pillars { margin-top: 64px; }
.pillar-list { margin-top: 24px; display: grid; gap: 20px; }
.pillar-card { position: relative; overflow: hidden; border-radius: 16px; padding: 24px; transition: border-color .2s; }
.pillar-card:hover { border-color: rgba(255,255,255,.2); }
.pillar-card { display: flex; align-items: flex-start; gap: 20px; }
.pillar-icon { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, oklch(0.72 0.22 250 / .2), oklch(0.65 0.28 305 / .2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 10px; font-weight: 900; }
.pillar-card h3 { margin: 0; font-size: 18px; line-height: 1.3; letter-spacing: 0; }
.pillar-card p { margin: 8px 0 0; color: var(--muted-foreground); font-size: 14px; line-height: 1.7; }
.about-callout { margin-top: 80px; }

/* Contact page layout copied from the Lovable contact route. */
.contact-page { max-width: 1152px; margin: 0 auto; padding: 144px 16px 96px; }
.contact-header { margin-top: 32px; }
.contact-header h1 { margin: 0; font-size: clamp(32px, 4vw, 40px); line-height: 1.1; letter-spacing: 0; }
.contact-header p { max-width: 672px; margin: 8px 0 0; color: var(--muted-foreground); font-size: 16px; line-height: 1.7; }
.contact-layout { margin-top: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.contact-form { position: relative; overflow: hidden; border-radius: 16px; padding: 32px; display: grid; gap: 20px; }
.contact-form-glow { pointer-events: none; position: absolute; right: -96px; top: -96px; width: 256px; height: 256px; border-radius: 999px; opacity: .5; filter: blur(48px); background: var(--gradient-radial-glow); }
.contact-field-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-form label { position: relative; display: grid; gap: 8px; color: var(--foreground); font-size: 14px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: oklch(0.13 0.01 270 / .4); color: var(--foreground); padding: 12px 14px; font: inherit; outline: 0; }
.contact-form textarea { min-height: 188px; resize: vertical; line-height: 1.6; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: oklch(0.68 0.02 270 / .75); }
.contact-form input:focus, .contact-form textarea:focus { border-color: oklch(0.72 0.22 250 / .6); box-shadow: 0 0 0 3px oklch(0.72 0.22 250 / .12); }
.contact-submit-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; }
.contact-submit-row p { margin: 0; color: var(--muted-foreground); font-size: 12px; line-height: 1.5; }
.contact-submit { border: 0; cursor: pointer; white-space: nowrap; }
.contact-submit:disabled { cursor: wait; opacity: .6; }
.contact-aside { display: grid; gap: 20px; }
.contact-card { border-radius: 16px; padding: 24px; }
.contact-card-heading { display: flex; align-items: center; gap: 12px; }
.contact-card-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, oklch(0.72 0.22 250 / .2), oklch(0.65 0.28 305 / .2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 9px; font-weight: 900; }
.contact-card h2 { margin: 0; font-size: 16px; line-height: 1.3; letter-spacing: 0; }
.contact-card p { margin: 16px 0 0; color: var(--muted-foreground); font-size: 14px; line-height: 1.7; }
.protected-email { display: inline-block; margin-top: 12px; color: var(--foreground); font-size: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.protected-email:hover { text-decoration-color: rgba(255,255,255,.65); }
.contact-card-cta { width: fit-content; margin-top: 16px; }
.contact-card-cta svg { width: 16px; height: 16px; }
.contact-response-heading { color: var(--muted-foreground); font-size: 12px !important; font-weight: 800; letter-spacing: .2em !important; text-transform: uppercase; }
.response-list { margin: 16px 0 0; display: grid; gap: 10px; font-size: 14px; }
.response-list div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.response-list dt { color: var(--muted-foreground); }
.response-list dd { margin: 0; color: var(--foreground); font-weight: 700; }

/* Auth pages copied from the Lovable login/signup routes. */
.auth-shell { min-height: 100vh; display: flex; flex-direction: column; }
.auth-back-link { position: absolute; left: 16px; top: 16px; z-index: 4; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.05); padding: 8px 16px; color: var(--muted-foreground); font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.auth-back-link:hover { background: rgba(255,255,255,.1); color: var(--foreground); }
.auth-back-link svg { width: 16px; height: 16px; }
.auth-main { flex: 1; min-height: calc(100vh - 86px); display: flex; align-items: center; justify-content: center; padding: 88px 16px 40px; }
.auth-card-wrap { position: relative; width: 100%; max-width: 448px; }
.auth-glow { pointer-events: none; position: absolute; left: 50%; top: -96px; width: 256px; height: 256px; transform: translateX(-50%); border-radius: 999px; opacity: .4; filter: blur(48px); background: var(--gradient-radial-glow); }
.auth-card { position: relative; overflow: hidden; border-radius: 16px; padding: 40px; }
.auth-card-header { text-align: center; }
.auth-logo { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: var(--gradient-brand); color: var(--background); font-size: 14px; font-weight: 900; }
.auth-card h1 { margin: 20px 0 0; font-size: 24px; line-height: 1.2; letter-spacing: 0; }
.auth-card-header p { margin: 8px 0 0; color: var(--muted-foreground); font-size: 14px; line-height: 1.6; }
.auth-form { margin-top: 32px; display: grid; gap: 20px; }
.auth-form label { display: grid; gap: 8px; color: var(--foreground); font-size: 14px; font-weight: 700; }
.auth-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-label-row a { color: var(--neon-blue); font-size: 12px; font-weight: 700; transition: color .2s; }
.auth-label-row a:hover { color: var(--neon-violet); }
.auth-form input { width: 100%; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: oklch(0.13 0.01 270 / .4); color: var(--foreground); padding: 12px 14px; font: inherit; outline: 0; }
.auth-form input::placeholder { color: oklch(0.68 0.02 270 / .75); }
.auth-form input:focus { border-color: oklch(0.72 0.22 250 / .6); box-shadow: 0 0 0 3px oklch(0.72 0.22 250 / .12); }
.auth-submit { width: 100%; justify-content: center; border: 0; cursor: pointer; padding: 12px 20px; }
.auth-submit:disabled { cursor: wait; opacity: .6; }
.auth-status { min-height: 18px; margin: -4px 0 0; color: var(--muted-foreground); font-size: 12px; line-height: 1.5; text-align: center; }
.auth-switch { margin-top: 32px; text-align: center; }
.auth-switch p { margin: 0; color: var(--muted-foreground); font-size: 14px; }
.auth-switch a { color: var(--foreground); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.auth-switch a:hover { text-decoration-color: rgba(255,255,255,.65); }
.auth-footer { position: relative; z-index: 2; }
.auth-footer .footer-bottom { justify-content: space-between; }

/* Legal policy pages converted from the Lovable privacy/terms routes. */
.legal-page { max-width: 896px; margin: 0 auto; padding: 144px 16px 96px; }
.legal-header { margin-top: 40px; }
.legal-header > span { color: var(--muted-foreground); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.legal-header h1 { max-width: 896px; margin: 12px 0 0; font-size: clamp(40px, 6vw, 56px); line-height: 1.1; letter-spacing: 0; }
.legal-header p { margin: 16px 0 0; color: var(--muted-foreground); font-size: 16px; line-height: 1.7; }
.legal-header p:first-of-type { font-size: 14px; font-weight: 700; }
.legal-summary { margin-top: 40px; border-radius: 16px; padding: 24px; }
.legal-summary h2 { margin: 0; color: var(--foreground); font-size: 18px; line-height: 1.3; letter-spacing: 0; }
.legal-summary ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.legal-summary li { position: relative; padding-left: 22px; color: var(--muted-foreground); font-size: 14px; line-height: 1.7; }
.legal-summary li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 999px; background: var(--gradient-brand); box-shadow: 0 0 18px oklch(0.72 0.22 250 / .5); }
.legal-content { margin-top: 48px; display: grid; gap: 40px; color: rgba(255,255,255,.9); font-size: 16px; line-height: 1.8; }
.legal-content section { scroll-margin-top: 128px; }
.legal-content h2 { margin: 0 0 14px; color: var(--foreground); font-size: 22px; line-height: 1.3; letter-spacing: 0; }
.legal-content p { margin: 0; }
.legal-content p + p { margin-top: 16px; }
.legal-content a { color: var(--foreground); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.legal-content a:hover { text-decoration-color: rgba(255,255,255,.65); }

/* 404 page copied from the Lovable 404 route and tuned for static fallback. */
.not-found-page { max-width: 1024px; min-height: calc(100vh - 220px); margin: 0 auto; padding: 160px 16px 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.not-found-icon { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 16px; background: linear-gradient(135deg, oklch(0.72 0.22 250 / .2), oklch(0.65 0.28 305 / .2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: var(--foreground); font-size: 15px; font-weight: 900; }
.not-found-page h1 { margin: 32px 0 0; font-size: clamp(64px, 12vw, 96px); line-height: .95; letter-spacing: 0; }
.not-found-page h2 { margin: 20px 0 0; color: var(--foreground); font-size: clamp(26px, 4vw, 34px); line-height: 1.15; letter-spacing: 0; }
.not-found-page p { max-width: 480px; margin: 12px 0 0; color: var(--muted-foreground); font-size: 16px; line-height: 1.7; }
.not-found-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.not-found-actions .primary-cta, .not-found-search { width: auto; margin-top: 0; border: 0; cursor: pointer; }
.not-found-search svg { width: 16px; height: 16px; }
.not-found-links { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.not-found-links a { border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.04); padding: 8px 14px; color: var(--muted-foreground); font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.not-found-links a:hover { background: rgba(255,255,255,.09); color: var(--foreground); }

/* FAQ page. */
.faq-page { max-width: 960px; margin: 0 auto; padding: 144px 16px 96px; }
.faq-header { margin-top: 40px; }
.faq-header > span { color: var(--muted-foreground); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.faq-header h1 { max-width: 820px; margin: 12px 0 0; font-size: clamp(40px, 6vw, 64px); line-height: 1.08; letter-spacing: 0; }
.faq-header p { max-width: 720px; margin: 20px 0 0; color: var(--muted-foreground); font-size: 17px; line-height: 1.7; }
.faq-list { margin-top: 56px; display: grid; gap: 16px; }
.faq-section-heading { margin: 18px 0 4px; color: var(--muted-foreground); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.faq-item { position: relative; overflow: hidden; border-radius: 16px; padding: 28px; }
.faq-item::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--neon-blue); box-shadow: 0 0 28px oklch(0.72 0.22 250 / .55); }
.faq-item:nth-child(even)::before { background: var(--neon-violet); box-shadow: 0 0 28px oklch(0.65 0.28 305 / .55); }
.faq-item h2 { margin: 0; width: fit-content; max-width: 100%; background: linear-gradient(90deg, var(--neon-blue), var(--neon-violet)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 22px; line-height: 1.3; letter-spacing: 0; }
.faq-item:nth-child(even) h2 { background-image: linear-gradient(90deg, var(--neon-violet), var(--neon-blue)); }
.faq-item p { margin: 14px 0 0; color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.75; }

/* All tools directory. */
.all-tools-page .category-header { margin-bottom: 56px; }
.all-tools-directory { display: grid; gap: 52px; }
.all-tools-category { scroll-margin-top: 128px; }
.all-tools-category .tool-list-heading { margin-bottom: 12px; }
.all-tools-category .tool-list-heading h2 a { color: inherit; }
.all-tools-pill-list { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.all-tools-pill { position: relative; min-height: 48px; border: 1px solid oklch(0.72 0.22 250 / .35); border-radius: 10px; background: linear-gradient(90deg, oklch(0.72 0.22 250 / .9), oklch(0.65 0.28 305 / .9)); color: var(--background); padding: 12px 14px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 900; line-height: 1.2; box-shadow: 0 10px 34px -18px oklch(0.72 0.22 250 / .85); transition: transform .2s, box-shadow .2s, filter .2s; }
.all-tools-pill:nth-child(even) { background: linear-gradient(90deg, oklch(0.65 0.28 305 / .9), oklch(0.72 0.22 250 / .9)); }
.all-tools-pill:hover { transform: translateY(-2px); filter: saturate(1.1); box-shadow: 0 16px 42px -18px oklch(0.65 0.28 305 / .9); }
.tool-status { flex: 0 0 auto; border-radius: 6px; background: oklch(0.13 0.01 270 / .26); padding: 4px 6px; color: oklch(0.97 0.005 270 / .9); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

/* Footer styles. */
.site-footer { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.05); }
.footer-grid { max-width: 1152px; margin: 0 auto; padding: 64px 16px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 900; }
.footer-grid p { max-width: 320px; color: var(--muted-foreground); font-size: 14px; line-height: 1.6; }
.footer-grid a { display: block; margin-top: 10px; color: rgba(255,255,255,.8); font-size: 14px; }
.footer-grid a:hover { color: var(--foreground); }
.footer-bottom { max-width: 1152px; margin: 0 auto; padding: 32px 16px; border-top: 1px solid rgba(255,255,255,.05); display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted-foreground); font-size: 12px; }
.footer-bottom span:first-child { display: inline-flex; align-items: center; gap: 8px; }

/* Search modal styles. The behavior for this modal is in script.js. */
.search-modal { position: fixed; inset: 0; z-index: 100; padding: 20vh 16px 0; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); }
.search-panel { width: min(576px, 100%); margin: 0 auto; overflow: hidden; border-radius: 24px; box-shadow: 0 30px 80px -20px oklch(0.72 0.22 250 / .45); }
.search-input-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); padding: 16px 20px; }
.search-input-row svg { width: 20px; height: 20px; color: var(--muted-foreground); }
.search-input-row input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--foreground); font: inherit; font-size: 18px; }
.search-close { width: 28px; height: 28px; border: 0; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--muted-foreground); cursor: pointer; font-size: 22px; line-height: 1; }
.search-results { max-height: 320px; overflow-y: auto; padding: 8px; }
.search-result { width: 100%; border: 0; border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 12px; text-align: left; background: transparent; color: var(--foreground); cursor: pointer; }
.search-result:hover, .search-result.active { background: rgba(255,255,255,.1); }
.search-result-icon { width: 32px; height: 32px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, oklch(0.72 0.22 250 / .2), oklch(0.65 0.28 305 / .2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 12px; font-weight: 900; }
.search-result strong, .search-result small { display: block; }
.search-result small, .empty-search { color: var(--muted-foreground); }
.empty-search { padding: 32px 12px; text-align: center; font-size: 14px; }
.search-help { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); padding: 10px 20px; color: var(--muted-foreground); font-size: 11px; }

/* Animations copied from the Lovable CSS and recreated for static HTML. */
@keyframes fly-out {
  0% { transform: translate(-50%, -50%) scale(.2); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot)); opacity: .85; }
}
@keyframes float-orbit {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(var(--tx), var(--ty)) rotate(180deg); }
}
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 0 0 oklch(0.72 0.22 250 / .5), 0 0 30px oklch(0.72 0.22 250 / .4); }
  50% { box-shadow: 0 0 0 8px oklch(0.72 0.22 250 / 0), 0 0 50px oklch(0.65 0.28 305 / .6); }
}
@keyframes gradient-shift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive layout changes for tablet and mobile screens. */
@media (max-width: 900px) {
  .site-nav { display: flex; align-items: stretch; flex-direction: column; }
  .nav-left { display: flex; justify-content: space-between; }
  .nav-links { display: none; }
  .nav-actions { justify-content: space-between; }
  .menu-trigger { display: inline-flex; }
  .mobile-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a { border-radius: 12px; background: rgba(255,255,255,.04); padding: 11px 12px; color: var(--foreground); font-size: 14px; font-weight: 700; line-height: 1.2; }
  .mobile-menu a:hover { background: rgba(255,255,255,.1); }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { width: 100%; }
  .trust-grid, .footer-grid, .tool-grid, .article-grid, .coming-soon-points, .pricing-grid, .contact-layout { grid-template-columns: 1fr; }
  .category-header { flex-direction: column; gap: 20px; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .topic-panel { align-items: flex-start; flex-direction: column; }
  .article-cta-content { align-items: flex-start; flex-direction: column; }
  .tool-header { align-items: flex-start; flex-direction: column; }
  .use-case-grid { grid-template-columns: 1fr; }
  .json-tool { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 560px) {
  .site-header { padding: 10px 10px 0; }
  .site-nav { gap: 12px; padding: 10px; border-radius: 14px; }
  .brand-name { font-size: 16px; }
  .mobile-menu { grid-template-columns: 1fr; max-height: calc(100svh - 118px); overflow-y: auto; }
  .contact-pill { display: none; }
  .hero { padding-top: 132px; }
  .hero p, .manifesto-inner p { font-size: 16px; }
  .category-card { padding: 22px; min-height: 0; }
  .all-tools-pill { width: 100%; justify-content: space-between; }
  .fly-icon span { width: 40px; height: 40px; font-size: 10px; }
  .contact-form { padding: 24px; }
  .contact-field-grid { grid-template-columns: 1fr; }
  .contact-submit-row { align-items: flex-start; flex-direction: column; }
  .auth-card { padding: 32px 24px; }
  .auth-back-link { left: 12px; top: 12px; padding: 8px 12px; }
}

/* Extended authority tool page (Prompt 1 layout adapted to site design system). */
.tool-page-authority { max-width: 1280px; }
.tool-category-pill { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid oklch(0.72 0.22 250 / .35); background: oklch(0.72 0.22 250 / .08); color: var(--neon-blue); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.tool-team-credit { margin-top: 20px; display: flex; align-items: center; gap: 14px; max-width: 520px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: oklch(0.17 0.015 270 / .5); }
.tool-team-avatars { display: flex; }
.tool-team-avatars span { width: 32px; height: 32px; margin-left: -8px; border-radius: 999px; border: 2px solid var(--background); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; letter-spacing: -0.02em; }
.tool-team-avatars span:first-child { margin-left: 0; background: oklch(0.35 0.02 270); color: var(--neon-blue); }
.tool-team-avatars span:nth-child(2) { background: oklch(0.32 0.04 280); color: oklch(0.82 0.18 265); }
.tool-team-avatars span:nth-child(3) { background: oklch(0.28 0.03 305); color: var(--neon-violet); }
.tool-requirements-panel { margin-top: 24px; padding: 20px 22px; border-radius: 16px; border: 1px solid oklch(0.72 0.22 250 / .25); background: oklch(0.72 0.22 250 / .06); }
.tool-requirements-panel h2 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--neon-blue); }
.tool-requirements-panel ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tool-requirements-panel li { font-size: 14px; line-height: 1.5; color: var(--muted-foreground); }
.tool-requirements-panel li strong { color: var(--foreground); font-weight: 700; }
.tool-requirements-note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; line-height: 1.55; color: var(--muted-foreground); }
.tool-team-credit p { margin: 0; font-size: 12px; line-height: 1.5; }
.tool-team-credit strong { color: var(--foreground); }
.tool-intro-panel { margin-top: 28px; padding: 28px; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); background: oklch(0.17 0.015 270 / .55); box-shadow: 0 24px 60px -40px oklch(0.72 0.22 250 / .5); }
.tool-intro-panel p { margin: 0; font-size: 17px; line-height: 1.75; color: var(--muted-foreground); }
.tool-intro-panel p + p { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.tool-intro-panel strong { color: var(--neon-blue); }
.tool-intro-panel .intro-for strong { color: var(--neon-violet); }
.security-badge-row { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.security-badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; box-shadow: 0 0 24px oklch(0.78 0.24 145 / .15); }
.security-badge-neon { border: 1px solid oklch(0.78 0.24 145 / .55); background: oklch(0.32 0.12 145 / .35); color: oklch(0.88 0.22 145); }
.security-badge-cyan { border: 1px solid oklch(0.72 0.22 250 / .4); background: oklch(0.72 0.22 250 / .08); color: var(--neon-blue); }
.security-badge-slate { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: var(--muted-foreground); }
#active-tool-root { width: 100%; min-height: 420px; padding: 24px; display: block; text-align: left; }
#active-tool-root.tool-workspace-inner { align-items: stretch; justify-content: flex-start; padding: 24px; }
.tool-share-bar { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 0 0 22px 22px; border: 1px solid rgba(255,255,255,.08); border-top: 0; background: oklch(0.11 0.01 270 / .6); }
.tool-share-bar button { border: 0; background: transparent; color: var(--muted-foreground); font: inherit; font-size: 13px; cursor: pointer; }
.tool-share-bar button:hover { color: var(--neon-blue); }
.tool-manual-layout { margin-top: 64px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.tool-manual-nav { position: sticky; top: 120px; padding: 20px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: oklch(0.17 0.015 270 / .4); }
.tool-manual-nav h3 { margin: 0 0 14px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-foreground); }
.tool-manual-nav a { display: block; padding: 6px 0; color: var(--muted-foreground); font-size: 13px; line-height: 1.4; }
.tool-manual-nav a:hover { color: var(--neon-blue); }
.tool-manual-body section { scroll-margin-top: 120px; }
.tool-manual-body section + section { margin-top: 56px; }
.tool-code-block { margin-top: 20px; padding: 18px; border-radius: 14px; border: 1px solid rgba(255,255,255,.06); background: rgba(0,0,0,.35); overflow-x: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.6; color: var(--neon-blue); }
.tool-glossary { margin-top: 20px; padding: 22px; border-radius: 16px; border: 1px solid rgba(255,255,255,.06); background: oklch(0.15 0.01 270 / .35); }
.tool-glossary dt { margin-top: 16px; color: var(--neon-blue); font-size: 14px; font-weight: 800; }
.tool-glossary dt:first-child { margin-top: 0; }
.tool-glossary dd { margin: 6px 0 0; padding-left: 14px; border-left: 2px solid rgba(255,255,255,.08); color: var(--muted-foreground); font-size: 14px; line-height: 1.65; }
.tool-citations { margin-top: 24px; padding: 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,.06); background: rgba(0,0,0,.25); font-size: 12px; color: var(--muted-foreground); }
.tool-citations h4 { margin: 0 0 12px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-foreground); }
.tool-citations ul { margin: 0; padding-left: 18px; }
.tool-citations li { margin-top: 8px; }
.tool-citations a { color: var(--neon-blue); }
.related-tools-section { margin-top: 80px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.08); }
.related-tools-section h2 { margin: 0 0 24px; font-size: clamp(22px, 3vw, 28px); }
.related-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-tool-card { display: block; padding: 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: oklch(0.17 0.015 270 / .4); transition: border-color .2s; }
.related-tool-card:hover { border-color: oklch(0.72 0.22 250 / .45); }
.related-tool-card h3 { margin: 0; font-size: 16px; color: var(--foreground); }
.related-tool-card p { margin: 8px 0 0; font-size: 13px; color: var(--muted-foreground); line-height: 1.55; }
@media (max-width: 1024px) {
  .tool-manual-layout { grid-template-columns: 1fr; }
  .tool-manual-nav { position: static; }
  .related-tools-grid { grid-template-columns: 1fr; }
}

/* Report problem + newsletter modals (Brevo via Cloudflare Functions). */
.vt-mail-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 16px; background: oklch(0.08 0.01 270 / .72); backdrop-filter: blur(6px); }
.vt-mail-modal[hidden] { display: none !important; }
.vt-mail-panel { width: min(100%, 480px); max-height: min(92vh, 720px); overflow: auto; border-radius: 20px; border: 1px solid rgba(255,255,255,.1); background: oklch(0.14 0.015 270 / .95); box-shadow: 0 32px 80px -24px rgba(0,0,0,.65); padding: 24px; }
.vt-mail-panel h2 { margin: 0 0 6px; font-size: 22px; }
.vt-mail-panel > p.vt-mail-lead { margin: 0 0 18px; color: var(--muted-foreground); font-size: 14px; line-height: 1.55; }
.vt-mail-form { display: grid; gap: 14px; }
.vt-mail-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--foreground); }
.vt-mail-form input, .vt-mail-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: oklch(0.11 0.01 270 / .7); color: var(--foreground); padding: 11px 13px; font: inherit; outline: 0; }
.vt-mail-form textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.vt-mail-form input:focus, .vt-mail-form textarea:focus { border-color: oklch(0.72 0.22 250 / .55); box-shadow: 0 0 0 3px oklch(0.72 0.22 250 / .12); }
.vt-mail-turnstile { min-height: 65px; margin-top: 4px; }
.vt-mail-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.vt-mail-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.vt-mail-status { min-height: 1.25em; margin: 0; font-size: 13px; color: var(--muted-foreground); }
.vt-mail-status.is-error { color: #f87171; }
.vt-mail-status.is-success { color: #34d399; }
.vt-mail-close { position: absolute; top: 14px; right: 14px; border: 0; background: transparent; color: var(--muted-foreground); font-size: 22px; line-height: 1; cursor: pointer; }
.vt-mail-close:hover { color: var(--foreground); }
.vt-mail-panel-wrap { position: relative; }
.tool-report-btn { color: #fbbf24 !important; }
.tool-report-btn:hover { color: #fde68a !important; }
.footer-mail-links { display: inline-flex; flex-wrap: wrap; gap: 12px; margin-left: 12px; }
.footer-mail-links button { border: 0; background: transparent; color: var(--muted-foreground); font: inherit; font-size: 12px; cursor: pointer; padding: 0; }
.footer-mail-links button:hover { color: var(--neon-blue); }
@media (max-width: 640px) {
  .footer-mail-links { display: flex; width: 100%; margin: 8px 0 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start !important; gap: 8px; }
}
