/* =========================================================
   TradeBib — static site stylesheet
   Ported from the Next.js/Tailwind design system
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --background: #f8fafc;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --primary: #0ea5e9;
  --primary-foreground: #020617;
  --secondary: #2563eb;
  --secondary-foreground: #f8fafc;
  --muted: #e2e8f0;
  --muted-foreground: #64748b;
  --accent: #22c55e;
  --accent-foreground: #020617;
  --destructive: #ef4444;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #0ea5e9;
  --success: #22c55e;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
}

html.dark {
  --background: #020617;
  --foreground: #f1f5f9;
  --card: #111827;
  --card-foreground: #f1f5f9;
  --primary: #0ea5e9;
  --primary-foreground: #020617;
  --secondary: #2563eb;
  --secondary-foreground: #f8fafc;
  --muted: #1e293b;
  --muted-foreground: #94a3b8;
  --accent: #22c55e;
  --accent-foreground: #020617;
  --destructive: #ef4444;
  --border: #1e293b;
  --input: #1e293b;
  --ring: #0ea5e9;
  --success: #22c55e;
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  min-height: 100vh;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

html.dark body {
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(14, 165, 233, 0.18), transparent),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(37, 99, 235, 0.12), transparent),
    radial-gradient(ellipse 40% 30% at 0% 100%, rgba(14, 165, 233, 0.08), transparent), #020617;
  background-attachment: fixed;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* ——— Layout helpers ——— */
.container {
  width: 100%;
  max-width: 80rem; /* 7xl */
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.container-narrow { max-width: 48rem; }
.container-md { max-width: 42rem; }

.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none !important; }

/* ——— Typography scale ——— */
.tb-display {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.tb-h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.tb-h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.section-title { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
.section-lead { color: var(--muted-foreground); margin-top: 1rem; }

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 40%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ——— Glass ——— */
.glass {
  background: rgba(17, 24, 39, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.12);
}
:root:not(.dark) .glass, .light .glass {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.grid-bg {
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  height: 2.75rem;
  padding: 0.5rem 1.25rem;
}
.btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.btn:disabled { pointer-events: none; opacity: 0.5; }

.btn-default { background: var(--primary); color: var(--primary-foreground); box-shadow: 0 10px 20px -8px rgba(14,165,233,.35); }
.btn-default:hover { background: #38bdf8; }
.btn-secondary { background: var(--secondary); color: var(--secondary-foreground); box-shadow: 0 10px 20px -8px rgba(37,99,235,.35); }
.btn-secondary:hover { background: #3b82f6; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--foreground); }
.btn-outline:hover { background: rgba(148,163,184,.12); }
.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { background: rgba(148,163,184,.12); }
.btn-glass { color: var(--foreground); }
.btn-glass:hover { border-color: rgba(14,165,233,.4); background: rgba(14,165,233,.1); }
.btn-success { background: var(--accent); color: var(--accent-foreground); }
.btn-destructive { background: var(--destructive); color: #fff; }

.btn-lg { height: 3rem; padding: 0 2rem; font-size: 1rem; border-radius: 0.75rem; }
.btn-sm { height: 2.25rem; padding: 0 0.75rem; font-size: 0.75rem; border-radius: 0.5rem; }
.btn-icon { height: 2.5rem; width: 2.5rem; padding: 0; }
.btn-block { width: 100%; }

/* ——— Badge ——— */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-default { background: rgba(14,165,233,.15); color: var(--primary); }
.badge-secondary { background: rgba(37,99,235,.2); color: #7dd3fc; }
.badge-success { background: rgba(16,185,129,.15); color: #34d399; }
.badge-danger { background: rgba(239,68,68,.15); color: #f87171; }
.badge-warning { background: rgba(245,158,11,.15); color: #fbbf24; }
.badge-outline { border-color: var(--border); color: var(--muted-foreground); }
.badge-low { background: rgba(16,185,129,.15); color: #34d399; }
.badge-medium { background: rgba(14,165,233,.15); color: #38bdf8; }
.badge-high { background: rgba(239,68,68,.15); color: #f87171; }

/* ——— Card ——— */
.card {
  border-radius: 1rem;
  color: var(--card-foreground);
  background: var(--card);
  border: 1px solid rgba(148,163,184,.15);
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.35);
}
.card-glass { background: rgba(17,24,39,.65); backdrop-filter: blur(16px); border: 1px solid rgba(148,163,184,.12); box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
.card-outline { border: 1px solid var(--border); background: transparent; box-shadow: none; }
.card-body { padding: 1.5rem; }
.card-body-top { padding: 1.5rem 1.5rem 0 1.5rem; }

/* ——— Navbar ——— */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(148,163,184,.2);
  background: rgba(2,6,23,.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
:root:not(.dark) .navbar { background: rgba(248,250,252,.8); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
.navbar-left { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link { border-radius: 0.5rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); transition: color .15s, background .15s; }
.nav-link:hover { background: rgba(148,163,184,.12); color: var(--foreground); }
.nav-link.active { background: rgba(14,165,233,.1); color: #38bdf8; }

.logo { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2rem; width: 2rem; border-radius: 0.75rem;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  box-shadow: 0 8px 20px -6px rgba(14,165,233,.5);
  color: #020617; font-weight: 900; font-size: 0.8rem;
}

.navbar-right { display: flex; align-items: center; gap: 0.5rem; }
.auth-buttons { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 640px) { .auth-buttons { display: flex; } }

.mobile-menu-btn { display: inline-flex; }
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(148,163,184,.2);
  background: var(--background);
  padding: 1rem;
}
.mobile-panel.open { display: block; }
@media (min-width: 1024px) { .mobile-panel { display: none !important; } }
.mobile-panel .nav-link { display: block; padding: 0.75rem; }
.mobile-auth { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }

.icon-btn { display: inline-flex; align-items: center; justify-content: center; height: 2.5rem; width: 2.5rem; border-radius: 0.75rem; background: transparent; border: none; color: var(--foreground); cursor: pointer; }
.icon-btn:hover { background: rgba(148,163,184,.12); }

/* ——— Footer ——— */
.footer { border-top: 1px solid rgba(148,163,184,.2); background: rgba(15,23,42,.3); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-block: 4rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(5, 1fr); } }
.footer-col-title { font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.footer-links li { margin-bottom: 0.625rem; }
.footer-links a { font-size: 0.875rem; color: var(--muted-foreground); transition: color .15s; }
.footer-links a:hover { color: #38bdf8; }
.footer-bottom { border-top: 1px solid rgba(148,163,184,.2); margin-top: 3rem; padding-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.75rem; color: var(--muted-foreground); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ——— Utility grids ——— */
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }
.grid-4 { display: grid; gap: 1.25rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4,1fr); } }

.section { padding-block: 5rem; }
.section-y { border-top: 1px solid rgba(148,163,184,.15); border-bottom: 1px solid rgba(148,163,184,.15); background: rgba(15,23,42,.2); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ——— Icon sizing ——— */
.icon { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; stroke-width: 2; }
.icon-sm { width: 1rem; height: 1rem; }

/* ——— Hero ——— */
.hero { position: relative; overflow: hidden; padding-block: 4rem 5rem; }
@media (min-width: 640px) { .hero { padding-block: 6rem 7rem; } }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(14,165,233,.25), transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 20%, rgba(37,99,235,.18), transparent 70%);
}
.hero-inner { max-width: 56rem; margin-inline: auto; text-align: center; }
.hero-title { margin-top: 1rem; color: rgba(241,245,249,.92); }
.hero-lead { color: var(--muted-foreground); margin: 1.25rem auto 0; max-width: 42rem; font-size: 1.0625rem; line-height: 1.7; }
.hero-cta { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }

.hero-panel { position: relative; max-width: 64rem; margin: 4rem auto 0; }
.hero-glass { position: relative; overflow: hidden; border-radius: 1.5rem; padding: 1.5rem; }
@media (min-width: 640px) { .hero-glass { padding: 2rem; } }
.hero-glow { position: absolute; top: -2.5rem; right: -2.5rem; height: 10rem; width: 10rem; border-radius: 999px; background: rgba(14,165,233,.2); filter: blur(60px); }
.hero-stat { border: 1px solid rgba(148,163,184,.2); background: rgba(17,24,39,.5); border-radius: 1rem; padding: 1rem; }
.hero-stat p:first-child { font-size: 0.75rem; color: var(--muted-foreground); }
.hero-stat p:nth-child(2) { font-size: 1.5rem; font-weight: 700; margin-top: 0.25rem; }
.hero-stat p:last-child { font-size: 0.75rem; color: #34d399; margin-top: 0.25rem; }
.hero-graph { margin-top: 1.5rem; height: 7rem; overflow: hidden; border-radius: 1rem; background: linear-gradient(90deg, rgba(14,165,233,.1), rgba(37,99,235,.1), transparent); }

/* ——— Stats bar ——— */
.stats-bar { padding-block: 3.5rem; }
.stat-item { text-align: center; }
.stat-value { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted-foreground); font-size: 0.875rem; margin-top: 0.5rem; }

/* ——— Feature card ——— */
.feature-card { transition: transform .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(14,165,233,.4); }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  height: 2.75rem; width: 2.75rem; border-radius: 0.75rem;
  background: rgba(14,165,233,.15); color: #38bdf8; margin-bottom: 1rem;
}
.feature-title { font-weight: 700; }
.feature-desc { color: var(--muted-foreground); margin-top: 0.5rem; font-size: 0.875rem; }

/* ——— Section header ——— */
.section-header { max-width: 42rem; margin-inline: auto; text-align: center; }

/* ——— Bot card ——— */
.bot-card { overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; height: 100%; display: flex; flex-direction: column; }
.bot-card:hover { transform: translateY(-6px); border-color: rgba(14,165,233,.5); box-shadow: 0 25px 50px -20px rgba(14,165,233,.25); }
.bot-media { position: relative; height: 10rem; overflow: hidden; }
.bot-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.1) 60%, transparent); }
.bot-media-badges { position: absolute; top: 1rem; left: 1rem; z-index: 2; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.bot-fav-btn { position: absolute; top: 1rem; right: 1rem; z-index: 2; height: 2.25rem; width: 2.25rem; border-radius: 0.75rem; background: rgba(0,0,0,.4); color: #fff; border: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(4px); }
.bot-fav-btn.active .icon { fill: #f43f5e; stroke: #f43f5e; }
.bot-media-title { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2; }
.bot-media-title p { font-size: 0.6875rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.bot-media-title h3 { font-size: 1.25rem; font-weight: 700; color: #fff; }
.bot-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.bot-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.875rem; }
.bot-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; text-align: center; }
.bot-metric { background: rgba(148,163,184,.1); border-radius: 0.75rem; padding: 0.625rem; }
.bot-metric p:first-child { font-size: 0.625rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted-foreground); }
.bot-metric p:last-child { font-size: 0.875rem; font-weight: 700; margin-top: 0.125rem; }
.bot-metric.roi p:last-child { color: #34d399; }
.bot-metric.dd p:last-child { color: #fbbf24; }
.bot-footer { padding: 0 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.bot-footer-row { display: flex; gap: 0.5rem; }
.bot-footer-row .btn { flex: 1; }

/* ——— How it works ——— */
.step-card { position: relative; height: 100%; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.step-num { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; color: #38bdf8; }
.step-icon { display: inline-flex; align-items: center; justify-content: center; height: 2.5rem; width: 2.5rem; border-radius: 0.75rem; background: rgba(14,165,233,.15); color: #38bdf8; }
.step-title { font-size: 1.125rem; font-weight: 700; }
.step-desc { color: var(--muted-foreground); margin-top: 0.5rem; font-size: 0.875rem; }

/* ——— Testimonials ——— */
.quote-card { height: 100%; display: flex; flex-direction: column; }
.quote-icon { color: rgba(56,189,248,.5); margin-bottom: 1rem; }
.quote-text { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.7; flex: 1; }
.quote-footer { display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid rgba(148,163,184,.2); margin-top: 1.5rem; padding-top: 1.25rem; }
.quote-avatar { height: 2.5rem; width: 2.5rem; border-radius: 999px; background: rgba(14,165,233,.15); color: #7dd3fc; display: inline-flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 700; flex-shrink: 0; }
.quote-name { font-size: 0.875rem; font-weight: 600; }
.quote-role { font-size: 0.75rem; color: var(--muted-foreground); }
.quote-stars { display: flex; gap: 0.125rem; margin-left: auto; }
.quote-stars .icon { width: 0.875rem; height: 0.875rem; fill: #fbbf24; stroke: #fbbf24; }

/* ——— Pricing ——— */
.price-card { position: relative; height: 100%; display: flex; flex-direction: column; }
.price-card.popular { border-color: rgba(14,165,233,.5); box-shadow: 0 25px 50px -20px rgba(14,165,233,.2); }
.price-popular-badge { position: absolute; top: -0.75rem; left: 50%; transform: translateX(-50%); }
.price-amount { font-size: 2.25rem; font-weight: 800; }
.price-period { color: var(--muted-foreground); font-size: 0.875rem; }
.price-feature { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.75rem; }
.price-feature .icon { color: #34d399; flex-shrink: 0; margin-top: 0.125rem; }

/* ——— Accordion ——— */
.accordion { border: 1px solid rgba(148,163,184,.2); background: rgba(17,24,39,.4); border-radius: 1rem; padding: 0 1.25rem; }
.accordion-item { border-bottom: 1px solid rgba(148,163,184,.15); }
.accordion-item:last-child { border-bottom: none; }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; background: none; border: none; text-align: left; font-weight: 600; font-size: 0.9375rem; color: var(--foreground); cursor: pointer; }
.accordion-trigger .chevron { transition: transform .2s; flex-shrink: 0; color: var(--muted-foreground); }
.accordion-item.open .chevron { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.accordion-item.open .accordion-content { max-height: 20rem; }
.accordion-content-inner { padding: 0 0 1.25rem; color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.7; }

/* ——— Final CTA ——— */
.cta-panel { position: relative; overflow: hidden; border-radius: 1.5rem; border: 1px solid rgba(14,165,233,.2); background: linear-gradient(135deg, rgba(14,165,233,.2), rgba(37,99,235,.1), transparent); padding: 2.5rem 1.5rem; text-align: center; }
@media (min-width: 640px) { .cta-panel { padding: 4rem; } }

/* ——— Page header (inner pages) ——— */
.page-header { padding: 3.5rem 0 2.5rem; text-align: center; }
.page-eyebrow { margin-bottom: 0.75rem; }

/* ——— Forms ——— */
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; height: 2.75rem; border-radius: 0.75rem; border: 1px solid var(--input);
  background: rgba(148,163,184,.06); color: var(--foreground); padding: 0 0.875rem; font-size: 0.9375rem;
  font-family: inherit;
}
.field textarea { height: auto; padding: 0.75rem 0.875rem; min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ring); outline-offset: 1px; }
.field-hint { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.375rem; }

/* ——— Table ——— */
.tb-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.tb-table th, .tb-table td { padding: 0.875rem 1rem; text-align: left; border-bottom: 1px solid rgba(148,163,184,.15); }
.tb-table th { color: var(--muted-foreground); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ——— Skip link ——— */
.skip-link { position: absolute; left: 1rem; top: -100%; z-index: 100; border-radius: 0.75rem; background: var(--primary); color: var(--primary-foreground); padding: 0.625rem 1rem; font-size: 0.875rem; font-weight: 600; transition: top .15s ease; }
.skip-link:focus { top: 1rem; outline: 2px solid var(--ring); outline-offset: 2px; }

/* ——— Toast ——— */
#toast-region { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 200; display: flex; flex-direction: column; gap: 0.5rem; }
.toast { background: var(--card); border: 1px solid rgba(148,163,184,.2); color: var(--foreground); padding: 0.75rem 1rem; border-radius: 0.75rem; font-size: 0.875rem; box-shadow: 0 15px 30px -10px rgba(0,0,0,.4); animation: toast-in .2s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ——— Reveal-on-scroll ——— */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ——— Misc text utilities ——— */
.text-muted { color: var(--muted-foreground); }
.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}
.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}
.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}
