:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --muted-soft: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --brand: #ea580c;
  --brand-strong: #c2410c;
  --brand-soft: #fff7ed;
  --blue: #2563eb;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

main,
section,
article,
header,
footer,
nav,
aside,
div {
  min-width: 0;
}

.container,
.max-w-7xl,
.max-w-5xl,
.max-w-4xl,
.max-w-3xl,
.max-w-2xl,
.max-w-lg,
.max-w-none {
  width: min(100%, calc(100vw - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.container,
.max-w-7xl { max-width: 78rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 58rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-lg { max-width: 32rem; }
.max-w-none { max-width: none; width: 100%; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.self-start { align-self: flex-start; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.cursor-pointer { cursor: pointer; }
.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-10 { gap: 2.5rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.min-w-0 { min-width: 0; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.h-20 { height: 5rem; }
.w-32 { width: 8rem; }
.h-32 { height: 8rem; }
.inset-0 { inset: 0; }
.top-10 { top: 2.5rem; }
.min-h-screen { min-height: 100vh; }
.overflow-hidden { overflow: hidden; }

.p-2 { padding: 0.5rem; }
.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-2 { padding-left: 0.5rem; padding-right: 0.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 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pb-4 { padding-bottom: 1rem; }

.m-0 { margin: 0; }
.mt-1 { margin-top: 0.25rem; }
.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-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }

.rounded { border-radius: 0.5rem; }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: 1.25rem; }
.rounded-2xl { border-radius: var(--radius-xl); }
.rounded-3xl { border-radius: var(--radius-2xl); }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-full { border-radius: 999px; }

.border { border: 1px solid var(--line); }
.border-2 { border: 2px solid var(--line); }
.border-t { border-top: 1px solid var(--line); }
.border-b { border-bottom: 1px solid var(--line); }

.bg-white { background: var(--surface); }
.bg-gray-50,
.bg-slate-50,
.bg-stone-50 { background: #f8fafc; }
.bg-slate-100,
.bg-gray-100,
.bg-stone-100 { background: #e2e8f0; }
.bg-blue-100 { background: #dbeafe; }
.bg-indigo-100 { background: #e0e7ff; }
.bg-red-100 { background: #fee2e2; }
.bg-yellow-50 { background: #fefce8; }
.bg-orange-50 { background: #fff7ed; }
.bg-orange-100 { background: #ffedd5; }
.bg-orange-400\/10 { background: rgba(251, 146, 60, 0.1); }
.bg-rose-50 { background: #fff1f2; }
.bg-rose-100 { background: #ffe4e6; }
.bg-sky-50 { background: #f0f9ff; }
.bg-sky-100 { background: #e0f2fe; }

.product-badge-recommended {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(251, 146, 60, 0.28);
  border-radius: 9999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.34rem 0.56rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-badge-recommended--floating {
  position: static;
  margin-bottom: 1rem;
}

.product-badge-recommended--inline {
  margin-bottom: 1rem;
}

.product-badge-recommended--compact {
  font-size: 0.6rem;
  padding: 0.28rem 0.5rem;
}
.bg-emerald-50 { background: #ecfdf5; }
.bg-emerald-100 { background: #d1fae5; }
.bg-violet-50 { background: #f5f3ff; }
.bg-violet-100 { background: #ede9fe; }
.bg-slate-900,
.bg-slate-950,
.bg-emerald-950 { background: #0f172a; }
.bg-slate-800 { background: #1e293b; }
.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-\[\#fffaf5\] { background: #fffaf5; }
.bg-orange-400 { background: #fb923c; }
.bg-orange-500 { background: var(--brand); }
.bg-blue-600 { background: var(--blue); }
.bg-gradient-to-r { background-image: linear-gradient(90deg, #2563eb, #6366f1); }
.bg-gradient-to-br { background-image: linear-gradient(135deg, #dbeafe, #e0e7ff); }
.from-blue-600 {}
.to-indigo-600 {}
.from-red-600 {}
.to-orange-600 {}

.text-white { color: #fff; }
.text-gray-900,
.text-slate-900,
.text-stone-900 { color: var(--text); }
.text-gray-700,
.text-slate-700,
.text-stone-700 { color: var(--muted); }
.text-gray-600,
.text-slate-600,
.text-stone-600 { color: var(--muted); }
.text-gray-500,
.text-slate-500,
.text-stone-500 { color: var(--muted-soft); }
.text-gray-400,
.text-slate-400,
.text-stone-400 { color: #94a3b8; }
.text-slate-300,
.text-emerald-100,
.text-emerald-50 { color: #cbd5e1; }
.text-slate-950 { color: #020617; }
.text-orange-200 { color: #fed7aa; }
.text-orange-600,
.text-orange-700 { color: var(--brand-strong); }
.text-orange-500 { color: var(--brand); }
.text-yellow-700 { color: #a16207; }
.text-amber-400 { color: #fbbf24; }
.text-blue-600 { color: var(--blue); }
.text-blue-700 { color: #1d4ed8; }
.text-red-600 { color: #dc2626; }
.text-\[\#4D65FF\] { color: #4D65FF; }
.text-green-500 { color: #22c55e; }
.text-cyan-200 { color: #a5f3fc; }
.text-cyan-300 { color: #67e8f9; }
.text-violet-700 { color: #6d28d9; }
.text-emerald-700 { color: #047857; }
.text-emerald-800 { color: #065f46; }
.text-sky-700 { color: #0369a1; }

.text-xs { font-size: 0.75rem; line-height: 1.35; }
.text-sm { font-size: 0.925rem; line-height: 1.55; }
.text-base { font-size: 1rem; line-height: 1.65; }
.text-lg { font-size: 1.125rem; line-height: 1.6; }
.text-xl { font-size: 1.35rem; line-height: 1.4; }
.text-2xl { font-size: 1.75rem; line-height: 1.25; }
.text-3xl { font-size: 2.2rem; line-height: 1.15; }
.text-4xl { font-size: clamp(2.5rem, 5vw, 3.6rem); line-height: 1.05; }
.text-5xl { font-size: clamp(3rem, 6vw, 4.3rem); line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 5.5rem; line-height: 0.95; }
.text-9xl { font-size: 6.5rem; line-height: 0.9; }
.text-\[14px\] { font-size: 14px; }
.text-\[15px\] { font-size: 15px; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.03em; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.22em\] { letter-spacing: 0.22em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }

.leading-7 { line-height: 1.8; }
.leading-8 { line-height: 1.9; }
.leading-none { line-height: 1; }

.shadow,
.shadow-sm,
.shadow-lg,
.shadow-xl,
.shadow-2xl {
  box-shadow: var(--shadow-sm);
}

.transition,
.transition-all,
.transition-colors,
.transition-shadow,
.transition-transform {
  transition: all 180ms ease;
}

.ring-1 { box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9); }
.ring-inset {}
.ring-yellow-600\/20 { box-shadow: inset 0 0 0 1px rgba(202, 138, 4, 0.2); }
.ring-orange-200\/40,
.ring-orange-100,
.ring-stone-200 { box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-orange-400\/30 { border-color: rgba(251, 146, 60, 0.3); }

.bg-\[radial-gradient\(circle_at_top_left,_rgba\(249\,115\,22\,0\.26\)\,_transparent_32\%\)\,radial-gradient\(circle_at_center_right,_rgba\(14\,165\,233\,0\.18\)\,_transparent_30\%\)\] {
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.26), transparent 32%),
    radial-gradient(circle at center right, rgba(14, 165, 233, 0.18), transparent 30%);
}

.bg-\[radial-gradient\(circle_at_top_left\,_rgba\(34\,211\,238\,0\.16\)\,_transparent_32\%\)\,radial-gradient\(circle_at_bottom_right\,_rgba\(59\,130\,246\,0\.18\)\,_transparent_30\%\)\,\#020617\] {
  background:
    radial-gradient(circle at top left, rgba(34, 211, 238, 0.16), transparent 32%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.18), transparent 30%),
    #020617;
}

.prose {
  color: var(--muted);
}
.prose p {
  margin: 0 0 1rem;
}
.prose h2,
.prose h3 {
  color: var(--text);
  margin: 2rem 0 1rem;
  line-height: 1.2;
}
.prose ul {
  margin: 1rem 0 1.25rem 1.25rem;
}
.prose li + li {
  margin-top: 0.45rem;
}
.prose code {
  padding: 0.15rem 0.4rem;
  border-radius: 0.4rem;
  background: #eff6ff;
  color: #1d4ed8;
}

.group:hover .group-hover\:text-orange-600,
.hover\:text-orange-600:hover { color: var(--brand-strong); }
.group:hover .group-hover\:text-orange-400,
.hover\:text-orange-400:hover { color: #fb923c; }
.hover\:text-blue-600:hover,
.hover\:underline:hover { color: var(--blue); text-decoration: underline; }
.hover\:text-white:hover { color: #fff; }
.hover\:bg-slate-700:hover { background: #334155; }
.hover\:bg-slate-50:hover { background: #f8fafc; }
.hover\:bg-orange-400:hover { background: #fb923c; }
.hover\:bg-orange-300:hover { background: #fdba74; }
.hover\:bg-blue-50:hover { background: #eff6ff; }
.hover\:border-blue-300:hover { border-color: #93c5fd; }
.hover\:border-orange-300:hover { border-color: #fdba74; }
.hover\:border-sky-300:hover { border-color: #7dd3fc; }
.hover\:border-violet-300:hover { border-color: #c4b5fd; }
.hover\:border-emerald-300:hover { border-color: #6ee7b7; }
.hover\:shadow-lg:hover,
.hover\:shadow-xl:hover { box-shadow: var(--shadow-md); }
.hover\:-translate-y-1:hover { transform: translateY(-4px); }
.hover\:scale-105:hover { transform: scale(1.05); }
.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

.page-home h1,
.page-home h2,
.page-home h3,
.page-product-submit h1,
.page-product-submit h2,
.page-product-submit h3,
.page-category-hub h1,
.page-category-hub h2,
.page-category-hub h3,
.page-glass-theme h1,
.page-glass-theme h2,
.page-glass-theme h3,
.page-product-detail h1,
.page-product-detail h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: -0.02em;
}

.page-glass-theme {
  background:
    radial-gradient(circle at top center, rgba(59, 130, 246, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 24%),
    linear-gradient(180deg, #020617 0%, #0f172a 100%);
  color: #e2e8f0;
}

.page-error {
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 45%, #ffffff 100%);
}

.page-home main > .container,
.page-product-submit section > .relative.mx-auto,
.page-product-list main > div,
.page-product-detail main > .container,
.page-glass-theme .glass-page,
.page-category-hub main > div {
  position: relative;
}

.page-home section[class*="rounded-3xl"],
.page-category-hub section[class*="rounded"],
.page-product-detail article,
.page-product-detail section,
.page-product-detail aside > div,
.page-product-list a.block.rounded-lg,
.page-product-submit .rounded-3xl,
.page-product-submit .rounded-\[2rem\],
.page-glass-theme .glass-card,
.page-glass-theme .glass-shell {
  box-shadow: var(--shadow-sm);
}

.page-home .bg-white,
.page-product-submit .bg-white,
.page-category-hub .bg-white,
.page-product-detail .bg-white,
.page-product-list .bg-white {
  border: 1px solid rgba(226, 232, 240, 0.88);
}

.page-home .rounded-3xl,
.page-product-submit .rounded-3xl,
.page-category-hub .rounded-3xl,
.page-category-hub .rounded-\[2rem\],
.page-product-detail .rounded-lg,
.page-product-list .rounded-lg {
  backdrop-filter: saturate(1.05);
}

.page-product-submit {
  background: linear-gradient(180deg, #fff7ed 0%, #f8fafc 48%, #ffffff 100%);
}

.page-product-submit .submit-nav-primary[disabled],
.page-product-submit .submit-nav-secondary[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.page-product-submit code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.submit-page {
  position: relative;
  padding: 1.25rem 0 3rem;
}

.submit-page-inner {
  width: min(100%, 76rem);
  margin: 0 auto;
  padding: 0 1rem;
}

.submit-layout {
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.submit-sidebar,
.submit-shell {
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.submit-sidebar {
  padding: 1.5rem;
  position: sticky;
  top: 6rem;
}

.submit-shell {
  padding: 1.5rem;
}

.submit-title,
.submit-shell-title {
  margin: 0;
}

.submit-intro,
.submit-shell-copy,
.submit-note-copy {
  line-height: 1.75;
}

.submit-sidebar-notes {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.submit-note-card {
  border-radius: 1.15rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 1rem;
}

.submit-note-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.submit-note-copy {
  margin: 0;
  font-size: 0.92rem;
  color: #475569;
}

.submit-shell-head {
  margin-bottom: 1.25rem;
}

.submit-shell-kicker,
.submit-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c2410c;
}

.submit-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.08;
  color: #0f172a;
}

.submit-intro {
  margin-top: 1rem;
  color: #475569;
}

.submit-shell-title {
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  line-height: 1.1;
  color: #0f172a;
}

.submit-shell-copy {
  margin-top: 0.65rem;
  color: #64748b;
}

.submit-form input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.submit-form textarea,
.submit-form select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 1rem;
  background: #fff;
  padding: 0.95rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #0f172a;
}

.submit-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.submit-form input:focus,
.submit-form textarea:focus,
.submit-form select:focus {
  outline: none;
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.14);
}

.submit-nav-primary,
.submit-nav-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
}

.submit-nav-primary {
  background: #f97316;
  color: #111827;
}

.submit-nav-secondary {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
}

.submit-spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid rgba(251, 146, 60, 0.3);
  border-top-color: #ea580c;
  animation: spin 0.8s linear infinite;
}

.page-error .error-content {
  padding: 2rem 0;
}

.page-error .btn-primary,
.page-error .btn-secondary {
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.page-glass-theme .glass-page {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

.page-glass-theme .glass-card,
.page-glass-theme .glass-shell {
  box-shadow:
    0 25px 60px rgba(2, 6, 23, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-home h1,
.page-category-hub h1,
.page-product-detail h1,
.page-product-list h1 {
  max-width: none;
  text-wrap: normal;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.page-home section[id] {
  scroll-margin-top: 7rem;
}

.page-home .text-lg,
.page-category-hub .text-lg,
.page-product-detail main .text-xl {
  color: var(--muted);
}

.page-home .bg-slate-50,
.page-home .bg-gray-50,
.page-category-hub .bg-slate-50,
.page-category-hub .bg-stone-50 {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(248,250,252,0.95));
}

.page-home .bg-slate-900,
.page-category-hub .bg-slate-950,
.page-category-hub .bg-emerald-950 {
  background-image: linear-gradient(180deg, rgba(15,23,42,0.98), rgba(2,6,23,1));
}

.page-home main .bg-slate-900,
.page-category-hub main .bg-slate-900,
.page-category-hub main .bg-slate-950,
.page-category-hub main .bg-emerald-950,
.page-category-hub main .bg-orange-600,
.page-category-hub main .bg-violet-900,
.page-category-hub main .bg-sky-900,
.page-category-hub main .bg-sky-950,
.page-category-hub main .bg-slate-900\/70 {
  background: #ffffff;
  background-image: none;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.page-home main .text-white,
.page-category-hub main .text-white,
.page-category-hub main .text-sky-50,
.page-category-hub main .text-violet-50,
.page-category-hub main .text-emerald-50 {
  color: var(--text);
}

.page-home main .text-slate-300,
.page-category-hub main .text-slate-300,
.page-category-hub main .text-orange-50,
.page-category-hub main .text-sky-100,
.page-category-hub main .text-violet-100,
.page-category-hub main .text-emerald-100 {
  color: var(--muted);
}

.page-category-hub main .bg-white\/5,
.page-category-hub main .bg-white\/10 {
  background: #f8fafc;
}

.page-category-hub main .border-white\/10,
.page-category-hub main .border-cyan-400\/20 {
  border-color: var(--line);
}

.page-product-detail .grid,
.page-product-list .grid,
.page-home .grid,
.page-category-hub .grid {
  align-items: stretch;
}

.home-content-layout {
  display: block;
}

.home-intent-jump {
  background: #0f172a;
}

.home-intent-jump-kicker {
  color: #fdba74;
}

.home-intent-jump-title {
  color: #ffffff;
}

.home-intent-jump-copy {
  color: #cbd5e1;
}

.home-intent-jump-link {
  border-color: #334155;
  color: #e2e8f0;
}

.home-intent-jump-link:hover {
  border-color: #fdba74;
  background: var(--brand);
  color: #ffffff;
}

.home-aside {
  display: none;
}

.home-comparison-cards {
  display: none;
}

.home-comparison-card dl,
.home-comparison-card dt,
.home-comparison-card dd {
  margin: 0;
}

.home-mobile-jump {
  position: sticky;
  top: 0.5rem;
  z-index: 20;
  margin: 0 0 2rem;
}

.home-mobile-jump-inner {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-mobile-jump-inner::-webkit-scrollbar {
  display: none;
}

.home-mobile-jump-link {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 180ms ease;
}

.home-mobile-jump-link:hover {
  background: #fff7ed;
  color: var(--brand-strong);
}

.mobile-primary-nav-inner {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-primary-nav-inner::-webkit-scrollbar {
  display: none;
}

.mobile-primary-nav-link {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.62);
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.mobile-primary-nav-link:hover {
  background: rgba(51, 65, 85, 0.92);
  color: #fff;
  transform: translateY(-1px);
}

.mobile-primary-nav-link--submit {
  background: #fb923c;
  color: #0f172a;
}

.mobile-primary-nav-link--submit:hover {
  background: #fdba74;
  color: #0f172a;
}

.page-product-detail details {
  border: 1px solid var(--line);
}

.page-product-detail summary {
  list-style: none;
}
.page-product-detail summary::-webkit-details-marker {
  display: none;
}

.page-product-detail .inline-flex.items-center.gap-2.px-6.py-3 {
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

.breadcrumb-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  color: var(--muted-soft);
  list-style: none;
}

.breadcrumb-trail ol,
.breadcrumb-trail ul,
.breadcrumb-trail li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-trail li::marker {
  content: "";
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.breadcrumb-link {
  color: var(--muted-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-link:hover {
  color: var(--blue);
}

.breadcrumb-separator {
  color: #94a3b8;
  line-height: 1;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 600;
}

@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:flex-1 { flex: 1 1 0%; }
  .sm\:items-end { align-items: flex-end; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:text-5xl { font-size: 4rem; line-height: 1; }
  .sm\:p-8 { padding: 2rem; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-1 { flex: 1 1 0%; }
  .md\:items-center { align-items: center; }
  .md\:justify-end { justify-content: flex-end; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:p-12 { padding: 3rem; }
  .md\:text-4xl { font-size: 3rem; line-height: 1.05; }

  .home-mobile-jump {
    display: none;
  }

  .home-content-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
  }

  .home-aside {
    display: block;
    position: sticky;
    top: 7rem;
    align-self: start;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:sticky { position: sticky; }
  .lg\:self-start { align-self: flex-start; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:top-10 { top: 2.5rem; }
  .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:text-5xl { font-size: 4rem; line-height: 1; }
  .lg\:text-4xl { font-size: 3.2rem; line-height: 1.05; }
  .lg\:text-3xl { font-size: 2.2rem; line-height: 1.15; }
  .lg\:grid-cols-\[0\.92fr_1\.08fr\] { grid-template-columns: 0.92fr 1.08fr; }
  .lg\:grid-cols-\[1\.1fr_0\.9fr\] { grid-template-columns: 1.1fr 0.9fr; }
  .lg\:grid-cols-\[1\.3fr_1fr_1fr\] { grid-template-columns: 1.3fr 1fr 1fr; }
  .lg\:grid-cols-\[1\.05fr_0\.95fr\] { grid-template-columns: 1.05fr 0.95fr; }
  .lg\:grid-cols-\[1\.2fr_1fr\] { grid-template-columns: 1.2fr 1fr; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .page-home .text-4xl,
  .page-category-hub .text-4xl,
  .page-product-detail .text-4xl {
    max-width: none;
  }

  .page-home section,
  .page-category-hub section,
  .page-product-detail article,
  .page-product-detail section {
    border-radius: 1.25rem;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .container,
  .max-w-7xl,
  .max-w-5xl,
  .max-w-4xl,
  .max-w-3xl,
  .max-w-2xl {
    width: min(100%, calc(100vw - 1.25rem));
  }

  .p-8,
  .px-8,
  .py-12,
  .py-16 {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .p-7 { padding: 1.35rem; }
  .p-6 { padding: 1.15rem; }
  .p-5 { padding: 1rem; }
  .text-4xl { font-size: 2.25rem; }
  .text-5xl { font-size: 2.55rem; }
  .text-3xl { font-size: 1.95rem; }
  .text-2xl { font-size: 1.55rem; }

  .page-home .grid-cols-2,
  .page-home .grid-cols-3,
  .page-home .grid-cols-4,
  .page-product-submit .grid-cols-2,
  .page-product-submit .grid-cols-3,
  .page-category-hub .grid-cols-2,
  .page-category-hub .grid-cols-3,
  .page-product-detail .grid-cols-2,
  .page-product-list .grid-cols-2,
  .page-product-list .grid-cols-3 {
    grid-template-columns: 1fr;
  }

  .page-home .h-20 {
    height: auto;
    min-height: 4.5rem;
  }

  .page-home main {
    padding-top: 1.15rem;
  }

  .page-home main > .container {
    gap: 0;
  }

  .page-home section {
    margin-bottom: 1rem;
  }

  .home-mobile-jump {
    top: 4.45rem;
    z-index: 15;
  }

  .home-mobile-jump-inner {
    padding: 0.75rem 0.8rem;
    border-radius: 1rem;
  }

  .home-mobile-jump-link {
    padding: 0.65rem 0.9rem;
    font-size: 0.82rem;
  }

  .mobile-primary-nav {
    position: sticky;
    top: 0;
    z-index: 30;
  }

  .mobile-primary-nav .mx-auto {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .mobile-primary-nav-inner {
    gap: 0.55rem;
  }

  .mobile-primary-nav-link {
    padding: 0.62rem 0.88rem;
    font-size: 0.8rem;
  }

  .home-comparison-cards {
    display: grid;
    gap: 0.85rem;
  }

  .home-comparison-table-wrap {
    display: none;
  }

  .home-comparison-card {
    border-radius: 1.1rem;
  }

  .page-home section[id] {
    scroll-margin-top: 9rem;
  }

  .breadcrumb-trail {
    row-gap: 0.5rem;
    column-gap: 0.35rem;
  }

  .page-glass-theme .glass-page {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .submit-page {
    padding-top: 1rem;
    padding-bottom: 2.35rem;
  }

  .submit-page-inner {
    padding: 0 1.15rem;
  }

  .submit-layout {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .submit-sidebar,
  .submit-shell {
    border-radius: 1.35rem;
    padding: 1.15rem;
  }

  .submit-sidebar {
    position: static;
    top: auto;
  }

  .submit-sidebar-notes {
    gap: 0.8rem;
    margin-top: 1rem;
  }

  .submit-note-card {
    padding: 0.95rem;
  }

  .submit-title {
    font-size: 1.9rem;
  }

  .submit-shell-title {
    font-size: 1.45rem;
  }

  .submit-intro,
  .submit-shell-copy,
  .submit-note-copy,
  .submit-form p {
    font-size: 0.95rem;
  }

  .submit-form .flex.justify-between.gap-3,
  .submit-form .flex.justify-end {
    flex-direction: column;
    align-items: stretch;
  }

  .submit-nav-primary,
  .submit-nav-secondary {
    width: 100%;
  }
}
