/* ============================================================
   Adaptive Flow — Complete Style System
   Converted from Tailwind v4 + shadcn/ui to vanilla CSS
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* --- CSS Custom Properties (matches original oklch theme) --- */
:root {
  --radius: 0.9rem;

  --background: oklch(0.99 0.004 240);
  --foreground: oklch(0.14 0.02 250);
  --ink: oklch(0.14 0.02 250);
  --ink-soft: oklch(0.24 0.03 250);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.14 0.02 250);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.14 0.02 250);

  --primary: oklch(0.62 0.09 245);
  --primary-foreground: oklch(0.99 0.004 240);
  --primary-soft: oklch(0.93 0.03 245);

  --secondary: oklch(0.96 0.01 245);
  --secondary-foreground: oklch(0.2 0.03 250);

  --muted: oklch(0.965 0.008 245);
  --muted-foreground: oklch(0.48 0.02 250);

  --accent: oklch(0.94 0.03 245);
  --accent-foreground: oklch(0.2 0.03 250);

  --ruby: oklch(0.5 0.16 25);
  --ruby-foreground: oklch(0.99 0.004 240);

  --destructive: oklch(0.55 0.22 27);
  --destructive-foreground: oklch(0.99 0.004 240);

  --border: oklch(0.9 0.01 245);
  --input: oklch(0.9 0.01 245);
  --ring: oklch(0.62 0.09 245);

  --gradient-hero: radial-gradient(1200px 600px at 10% -10%, color-mix(in oklab, var(--primary) 25%, transparent), transparent 60%),
    radial-gradient(900px 500px at 100% 10%, color-mix(in oklab, var(--ruby) 18%, transparent), transparent 60%),
    linear-gradient(180deg, oklch(0.99 0.004 240), oklch(0.96 0.01 245));
  --gradient-brand: linear-gradient(135deg, var(--primary), color-mix(in oklab, var(--primary) 60%, var(--ruby)));
  --gradient-ink: linear-gradient(180deg, oklch(0.16 0.02 250), oklch(0.09 0.02 250));

  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px -8px rgba(15, 23, 42, 0.08);
  --shadow-elegant: 0 10px 40px -12px color-mix(in oklab, var(--primary) 35%, transparent);
  --shadow-ruby: 0 10px 40px -12px color-mix(in oklab, var(--ruby) 45%, transparent);
  --shadow-glass: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 20px 60px -20px rgba(15, 23, 42, 0.25);

  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* --- Container --- */
.container-lux {
  width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
  max-width: 80rem;
}

/* --- Utilities --- */
.text-gradient-brand {
  background: linear-gradient(135deg, var(--foreground) 0%, var(--primary) 55%, var(--ruby) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-hero { background: var(--gradient-hero); }
.bg-ink { background: var(--gradient-ink); }

.glass-panel {
  background: color-mix(in oklab, white 70%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid color-mix(in oklab, white 60%, transparent);
  box-shadow: var(--shadow-glass);
}

.glass-dark {
  background: color-mix(in oklab, oklch(0.14 0.02 250) 55%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid color-mix(in oklab, white 12%, transparent);
}

/* --- Shadows --- */
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-elegant { box-shadow: var(--shadow-elegant); }
.shadow-ruby { box-shadow: var(--shadow-ruby); }

/* --- Animations --- */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float-y 6s ease-in-out infinite; }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-rise { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.animate-bounce { animation: bounce 1.5s infinite; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}
.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-pill { border-radius: 9999px; padding: 0.625rem 1.5rem; height: 2.75rem; }
.btn-xl { border-radius: 9999px; padding: 0.75rem 2rem; height: 3.5rem; font-size: 1rem; }
.btn-sm { border-radius: 9999px; padding: 0.375rem 1rem; font-size: 0.8125rem; }

.btn-brand {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-elegant);
}
.btn-brand:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn-ruby {
  background: var(--ruby);
  color: var(--ruby-foreground);
  box-shadow: var(--shadow-ruby);
}
.btn-ruby:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn-ink {
  background: var(--foreground);
  color: var(--background);
}
.btn-ink:hover { filter: brightness(1.25); transform: translateY(-2px); }

.btn-glass {
  background: color-mix(in oklab, white 70%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid color-mix(in oklab, white 60%, transparent);
  color: var(--foreground);
}
.btn-glass:hover { background: rgba(255,255,255,0.9); }

.btn-outline {
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
}
.btn-outline:hover { background: var(--accent); color: var(--accent-foreground); }

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s;
}
.navbar-scrolled {
  background: color-mix(in oklab, white 70%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.4);
}
.navbar-transparent { background: transparent; }
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 1rem;
}

.nav-links { display: none; }
@media (min-width: 1024px) {
  .nav-links { display: flex; align-items: center; gap: 0.25rem; }
}
.nav-link {
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--foreground); }
.nav-link.active {
  color: var(--foreground);
  background: color-mix(in oklab, var(--primary) 60%, transparent);
}

.nav-actions { display: none; }
@media (min-width: 768px) {
  .nav-actions { display: flex; align-items: center; gap: 0.5rem; }
}

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s;
}
.nav-call:hover { background: var(--background); }

.mobile-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}
@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(18px);
}
.mobile-menu.open { display: block; }
@media (min-width: 1024px) {
  .mobile-menu.open { display: none; }
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0;
}
.mobile-link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.mobile-link:hover { background: var(--muted); color: var(--foreground); }
.mobile-link.active {
  background: color-mix(in oklab, var(--primary) 60%, transparent);
  color: var(--foreground);
}
.mobile-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.mobile-actions .btn { flex: 1; }

/* --- Brand Logo / Lockup --- */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo-wrap {
  display: grid;
  place-items: center;
  padding: 0.375rem;
  border-radius: 1rem;
}
.brand-logo-wrap.light {
  background: white;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}
.brand-logo-wrap.dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.brand-logo { height: 2.25rem; width: 2.25rem; border-radius: 0.5rem; }
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name-main {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand-name-main.light { color: var(--foreground); }
.brand-name-main.dark { color: white; }
.brand-name-sub {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}
.brand-name-sub.light { color: var(--muted-foreground); }
.brand-name-sub.dark { color: rgba(255,255,255,0.6); }

/* --- Footer --- */
.footer {
  position: relative;
  margin-top: 6rem;
  overflow: hidden;
  background: var(--gradient-ink);
  color: white;
}
.footer-glow-1 {
  position: absolute;
  left: -6rem;
  top: 0;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--primary) 25%, transparent);
  filter: blur(80px);
  pointer-events: none;
}
.footer-glow-2 {
  position: absolute;
  right: -6rem;
  bottom: 0;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--ruby) 25%, transparent);
  filter: blur(80px);
  pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  padding: 4rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-desc {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  transition: background 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.1); }

.footer h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}
.footer ul { margin-top: 1rem; }
.footer ul li { margin-bottom: 0.5rem; }
.footer ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer ul li a:hover { color: white; }
.footer li.flex { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer li.flex-center { display: flex; align-items: center; gap: 0.75rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; } }
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { transition: color 0.2s; }
.footer-bottom-links a:hover { color: white; }

/* --- Section spacing --- */
.section-py { padding: 4rem 0; }
.section-py-lg { padding: 6rem 0; }

/* --- Card base --- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
}
.card-hover {
  transition: all 0.3s;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}

/* --- Grid helpers --- */
.grid { display: grid; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-12 { gap: 3rem; }

/* --- Flex helpers --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

/* --- Text utilities --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }

@media (min-width: 640px) {
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:text-5xl { font-size: 3rem; }
  .sm\:text-6xl { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
  .lg\:text-7xl { font-size: 4.5rem; }
}

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.7; }
.tracking-widest { letter-spacing: 0.25em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.text-muted-foreground { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-foreground { color: var(--foreground); }
.text-white { color: white; }
.text-white\/70 { color: rgba(255,255,255,0.7); }
.text-white\/80 { color: rgba(255,255,255,0.8); }
.text-white\/85 { color: rgba(255,255,255,0.85); }
.text-ruby { color: var(--ruby); }
.text-ink-soft { color: var(--ink-soft); }
.underline { text-decoration: underline; }
.underline-offset-4 { text-underline-offset: 4px; }

/* --- Spacing --- */
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-24 { margin-top: 6rem; }

.mb-10 { margin-bottom: 2.5rem; }

.ml-1 { margin-left: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }

.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xs { max-width: 20rem; }

/* --- Padding --- */
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }

/* --- Borders --- */
.border { border: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-l { border-left: 1px solid var(--border); }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.border-border { border-color: var(--border); }
.border-primary { border-color: var(--primary); }
.border-transparent { border-color: transparent; }

.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-\[2\.5rem\] { border-radius: 2.5rem; }

/* --- Sizing --- */
.w-full { width: 100%; }
.h-full { height: 100%; }
.shrink-0 { flex-shrink: 0; }

/* --- Display --- */
.hidden { display: none; }
.inline { display: inline; }
.inline-flex { display: inline-flex; }
.overflow-hidden { overflow: hidden; }

/* --- Positioning --- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }

/* --- Z-index --- */
.z-50 { z-index: 50; }

/* --- Aspect ratio --- */
.aspect-\[4\/5\] { aspect-ratio: 4/5; }
.aspect-\[5\/4\] { aspect-ratio: 5/4; }
.aspect-\[16\/10\] { aspect-ratio: 16/10; }

/* --- Object fit --- */
.object-cover { object-fit: cover; }

/* --- Object position --- */
.object-cover { object-fit: cover; }

/* --- Transition --- */
.transition-all { transition: all 0.3s; }
.transition-transform { transition: transform 0.7s; }
.transition-colors { transition: color 0.2s, background-color 0.2s; }
.duration-700 { transition-duration: 0.7s; }

/* --- Pointer events --- */
.pointer-events-none { pointer-events: none; }

/* --- Background --- */
.bg-background { background: var(--background); }
.bg-card { background: var(--card); }
.bg-primary { background: var(--primary); }
.bg-primary-soft { background: var(--primary-soft); }
.bg-ruby { background: var(--ruby); }
.bg-foreground { background: var(--foreground); }
.bg-secondary { background: var(--secondary); }
.bg-muted { background: var(--muted); }
.bg-white\/5 { background: rgba(255,255,255,0.05); }
.bg-white\/10 { background: rgba(255,255,255,0.1); }
.bg-white\/90 { background: rgba(255,255,255,0.9); }
.bg-white\/95 { background: rgba(255,255,255,0.95); }
.bg-background\/60 { background: rgba(255,255,255,0.6); }
.bg-background\/70 { background: rgba(255,255,255,0.7); }
.bg-background\/95 { background: rgba(255,255,255,0.95); }

/* --- Place items --- */
.place-items-center { place-items: center; }

/* --- Grid helpers --- */
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .sm\:col-span-2 { grid-column: span 2; }
  .sm\:max-w-lg { max-width: 32rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:p-12 { padding: 3rem; }
  .sm\:p-16 { padding: 4rem; }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:justify-between { justify-content: space-between; }
  .md\:text-left { text-align: left; }
  .md\:block { display: block; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:grid-cols-\[1\.15fr_1fr\] { grid-template-columns: 1.15fr 1fr; }
  .lg\:grid-cols-\[1\.1fr_1fr\] { grid-template-columns: 1.1fr 1fr; }
  .lg\:grid-cols-\[1fr_1\.1fr\] { grid-template-columns: 1fr 1.1fr; }
  .lg\:grid-cols-\[1\.2fr_1fr\] { grid-template-columns: 1.2fr 1fr; }
  .lg\:grid-cols-\[1\.4fr_1fr\] { grid-template-columns: 1.4fr 1fr; }
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
  .lg\:block { display: block; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:pb-28 { padding-bottom: 7rem; }
  .lg\:pt-20 { padding-top: 5rem; }
}

/* --- Space-y --- */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }

/* --- Gap (within flex) --- */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-14 { gap: 3.5rem; }

/* --- Ring --- */
.ring-1 { box-shadow: 0 0 0 1px; }
.ring-border { box-shadow: 0 0 0 1px var(--border); }
.ring-white\/10 { box-shadow: 0 0 0 1px rgba(255,255,255,0.1); }
.ring-4 { box-shadow: 0 0 0 4px; }
.ring-background { box-shadow: 0 0 0 4px var(--background); }

/* --- Group hover --- */
.group { overflow: hidden; }
.group-hover\:scale-105 { transition: transform 0.7s; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group-hover\:text-primary { transition: color 0.2s; }
.group:hover .group-hover\:text-primary { color: var(--primary); }

/* --- Hover general --- */
.hover\:-translate-y-1:hover { transform: translateY(-4px); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-2px); }
.hover\:brightness-110:hover { filter: brightness(1.1); }
.hover\:bg-white\/90:hover { background: rgba(255,255,255,0.9); }
.hover\:bg-background:hover { background: var(--background); }
.hover\:bg-muted:hover { background: var(--muted); }
.hover\:bg-secondary:hover { background: var(--secondary); }
.hover\:text-foreground:hover { color: var(--foreground); }
.hover\:text-white:hover { color: white; }
.hover\:border-primary\/40:hover { border-color: color-mix(in oklab, var(--primary) 40%, transparent); }
.hover\:shadow-elegant:hover { box-shadow: var(--shadow-elegant); }

/* --- Page hero sections --- */
.page-hero { padding: 4rem 0; }
@media (min-width: 1024px) { .page-hero { padding: 6rem 0; } }

/* --- SVG icons --- */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; stroke: currentColor; fill: none; }
.icon-sm { width: 0.75rem; height: 0.75rem; }
.icon-md { width: 1rem; height: 1rem; }
.icon-lg { width: 1.25rem; height: 1.25rem; }
.icon-xl { width: 2rem; height: 2rem; }

/* --- Toast notifications --- */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 24rem;
}
.toast {
  background: var(--foreground);
  color: var(--background);
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-elegant);
  animation: toast-in 0.3s ease forwards;
}
.toast-title { font-weight: 600; font-size: 0.875rem; }
.toast-desc { margin-top: 0.25rem; font-size: 0.8125rem; opacity: 0.8; }
.toast-exit { animation: toast-out 0.3s ease forwards; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toast-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(1rem); }
}
