/*
 * tailwind-utils.css
 * Static replacement for cdn.tailwindcss.com — only classes actually used in this project.
 * Generated from class audit of all partials + templates.
 */

/* ── Tailwind Preflight v3 (CSS reset) ────────────────────────────────────── */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; }
::before, ::after { --tw-content: ''; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; -moz-tab-size: 4; tab-size: 4; font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif; }
body { margin: 0; line-height: inherit; }
hr { height: 0; color: inherit; border-top-width: 1px; }
abbr:where([title]) { text-decoration: underline dotted; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
code, kbd, samp, pre { font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, select { text-transform: none; }
button, [type='button'], [type='reset'], [type='submit'] { -webkit-appearance: button; background-color: transparent; background-image: none; }
:-moz-focusring { outline: auto; }
:-moz-ui-invalid { box-shadow: none; }
progress { vertical-align: baseline; }
::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; }
[type='search'] { -webkit-appearance: textfield; outline-offset: -2px; }
::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
summary { display: list-item; }
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; }
fieldset { margin: 0; padding: 0; }
legend { padding: 0; }
ol, ul, menu { list-style: none; margin: 0; padding: 0; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { opacity: 1; color: #9ca3af; }
button, [role="button"] { cursor: pointer; }
:disabled { cursor: default; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
[hidden] { display: none; }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.container   { width: 100%; margin-right: auto; margin-left: auto; }
.block       { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex        { display: flex; }
.grid        { display: grid; }
.hidden      { display: none; }
.relative    { position: relative; }
.absolute    { position: absolute; }

.flex-1      { flex: 1 1 0%; }
.flex-col    { flex-direction: column; }
.flex-wrap   { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start   { align-items: flex-start; }
.items-center  { align-items: center; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.mt-auto     { margin-top: auto; }
.min-w-0     { min-width: 0; }
.min-h-screen { min-height: 100vh; }
.max-h-\[90vh\] { max-height: 90vh; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.col-span-1  { grid-column: span 1 / span 1; }
.col-span-full { grid-column: 1 / -1; }

/* ── Overflow ─────────────────────────────────────────────────────────────── */
.overflow-hidden  { overflow: hidden; }
.overflow-x-auto  { overflow-x: auto; }
.overflow-y-auto  { overflow-y: auto; }
.whitespace-nowrap { white-space: nowrap; }

/* ── Sizing ───────────────────────────────────────────────────────────────── */
.w-full { width: 100%; }
.w-4  { width:  1rem; }
.w-6  { width:  1.5rem; }
.w-7  { width:  1.75rem; }
.w-8  { width:  2rem; }
.w-10 { width:  2.5rem; }
.w-12 { width:  3rem; }
.w-14 { width:  3.5rem; }
.w-16 { width:  4rem; }
.w-20 { width:  5rem; }
.h-4  { height: 1rem; }
.h-6  { height: 1.5rem; }
.h-7  { height: 1.75rem; }
.h-8  { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }

.max-w-xs  { max-width: 20rem; }
.max-w-md  { max-width: 28rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-4xl { max-width: 56rem; }

/* ── Spacing — margin ─────────────────────────────────────────────────────── */
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-4    { margin-left: 1rem; margin-right: 1rem; }
.ml-1    { margin-left: 0.25rem; }
.mt-1    { margin-top: 0.25rem; }
.mt-2    { margin-top: 0.5rem; }
.mt-3    { margin-top: 0.75rem; }
.mt-4    { margin-top: 1rem; }
.mt-6    { margin-top: 1.5rem; }
.mt-8    { margin-top: 2rem; }
.mt-12   { margin-top: 3rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mb-1    { margin-bottom: 0.25rem; }
.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; }

/* ── Spacing — padding ────────────────────────────────────────────────────── */
.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-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-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-16   { padding-top: 4rem;     padding-bottom: 4rem; }
.pt-4    { padding-top: 1rem; }
.pt-6    { padding-top: 1.5rem; }
.pt-14   { padding-top: 3.5rem; }
.pb-2    { padding-bottom: 0.5rem; }
.pb-4    { padding-bottom: 1rem; }
.pb-10   { padding-bottom: 2.5rem; }

/* ── Gap ──────────────────────────────────────────────────────────────────── */
.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-6   { gap: 1.5rem; }
.gap-8   { gap: 2rem; }

/* ── Space ────────────────────────────────────────────────────────────────── */
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

/* ── Typography ───────────────────────────────────────────────────────────── */
.text-xs   { font-size: 0.75rem;   line-height: 1rem; }
.text-sm   { font-size: 0.875rem;  line-height: 1.25rem; }
.text-base { font-size: 1rem;      line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem;  line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;   line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;    line-height: 2rem; }
.text-3xl  { font-size: 1.875rem;  line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;   line-height: 2.5rem; }
.text-5xl  { font-size: 3rem;      line-height: 1; }
.text-6xl  { font-size: 3.75rem;   line-height: 1; }
.text-center { text-align: center; }
.text-left   { text-align: left; }
.font-medium  { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold    { font-weight: 700; }
.leading-snug    { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Colors — text ────────────────────────────────────────────────────────── */
.text-white      { color: #fff; }
.text-gray-300   { color: #d1d5db; }
.text-gray-400   { color: #9ca3af; }
.text-gray-600   { color: #4b5563; }
.text-gray-700   { color: #374151; }
.text-gray-800   { color: #1f2937; }
.text-gray-900   { color: #111827; }
.text-blue-400   { color: #60a5fa; }
.text-blue-600   { color: #2563eb; }
.text-green-100  { color: #dcfce7; }
.text-green-200  { color: #bbf7d0; }
.text-green-600  { color: #16a34a; }
.text-purple-600 { color: #9333ea; }
.text-orange-600 { color: #ea580c; }

/* ── Colors — background ──────────────────────────────────────────────────── */
.bg-white      { background-color: #fff; }
.bg-gray-200   { background-color: #e5e7eb; }
.bg-blue-600   { background-color: #2563eb; }
.bg-green-600  { background-color: #16a34a; }
.bg-purple-600 { background-color: #9333ea; }
.bg-opacity-5  { background-color: rgba(0,0,0,0); } /* applied via bg-color + opacity modifier */
.bg-white\/10  { background-color: rgba(255,255,255,0.1); }

/* ── Gradients ────────────────────────────────────────────────────────────── */
.bg-gradient-to-r  { background-image: linear-gradient(to right,  var(--tw-gradient-from), var(--tw-gradient-to)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-from), var(--tw-gradient-to)); }
.from-purple-600 { --tw-gradient-from: #9333ea; }
.from-green-600  { --tw-gradient-from: #16a34a; }
.to-blue-600     { --tw-gradient-to: #2563eb; }

/* ── Border ───────────────────────────────────────────────────────────────── */
.border      { border-width: 1px; border-style: solid; }
.border-t    { border-top-width: 1px; border-top-style: solid; }
.border-white     { border-color: #fff; }
.border-gray-200  { border-color: #e5e7eb; }
.border-white\/20 { border-color: rgba(255,255,255,0.2); }

/* ── Border radius ────────────────────────────────────────────────────────── */
.rounded      { border-radius: 0.25rem; }
.rounded-lg   { border-radius: 0.5rem; }
.rounded-xl   { border-radius: 0.75rem; }
.rounded-2xl  { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* ── Shadow ───────────────────────────────────────────────────────────────── */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }

/* ── Backdrop ─────────────────────────────────────────────────────────────── */
.backdrop-blur-sm { backdrop-filter: blur(4px); }

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

/* ── Transform / transition ───────────────────────────────────────────────── */
.transform        { transform: translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0)); }
.transition-all    { transition-property: all; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.transition-colors { transition-property: color,background-color,border-color; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.-translate-x-1\/2 { --tw-translate-x: -50%; transform: translateX(-50%) translateY(var(--tw-translate-y,0)); }
.-translate-y-1\/2 { --tw-translate-y: -50%; transform: translateX(var(--tw-translate-x,0)) translateY(-50%); }

/* ── Position helpers ─────────────────────────────────────────────────────── */
.top-4    { top:    1rem; }
.-top-4   { top:   -1rem; }
.top-1\/2 { top:   50%; }
.right-3  { right: 0.75rem; }
.right-4  { right: 1rem; }
.left-1\/2 { left: 50%; }

/* ── Cursor / interaction ─────────────────────────────────────────────────── */
.cursor-pointer { cursor: pointer; }

/* ── Accessibility ────────────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* ── Placeholder ──────────────────────────────────────────────────────────── */
.placeholder-gray-400::placeholder { color: #9ca3af; }

/* ── Peer / toggle (newsletter switch) ───────────────────────────────────── */
.peer { /* marker class */ }
.peer-checked\:after\:translate-x-full:is(.peer:checked ~ * > *) { transform: translateX(100%); }
.after\:absolute::after   { position: absolute; }
.after\:content-\[\''\'\]::after { content: ''; }
.after\:top-\[2px\]::after  { top: 2px; }
.after\:left-\[2px\]::after { left: 2px; }
.after\:h-5::after  { height: 1.25rem; }
.after\:w-4::after  { width: 1rem; }
.after\:bg-white::after      { background-color: #fff; }
.after\:rounded-full::after  { border-radius: 9999px; }
.after\:transition-all::after { transition-property: all; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }

/* ── Focus ────────────────────────────────────────────────────────────────── */
.focus\:outline-none:focus     { outline: none; }
.focus\:border-transparent:focus { border-color: transparent; }
.focus\:ring-2:focus           { box-shadow: 0 0 0 2px var(--tw-ring-color, #3b82f6); }
.focus\:ring-blue-500:focus    { --tw-ring-color: #3b82f6; }

/* ── Hover ────────────────────────────────────────────────────────────────── */
.hover\:bg-gray-100:hover   { background-color: #f3f4f6; }
.hover\:bg-gray-300:hover   { background-color: #d1d5db; }
.hover\:bg-blue-700:hover   { background-color: #1d4ed8; }
.hover\:bg-purple-700:hover { background-color: #7e22ce; }
.hover\:text-white:hover    { color: #fff; }
.hover\:text-gray-600:hover { color: #4b5563; }
.hover\:text-blue-300:hover { color: #93c5fd; }
.hover\:from-purple-700:hover { --tw-gradient-from: #7e22ce; }
.hover\:to-blue-700:hover     { --tw-gradient-to: #1d4ed8; }

/* ── Disabled ─────────────────────────────────────────────────────────────── */
.disabled\:opacity-50:disabled      { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* ── Responsive — md (768px) ──────────────────────────────────────────────── */
@media (min-width: 768px) {
    .container    { max-width: 768px; }
    .md\:block    { display: block; }
    .md\:flex-row { flex-direction: row; }
    .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\:col-span-2  { grid-column: span 2 / span 2; }
}

/* ── Responsive — sm (640px) ──────────────────────────────────────────────── */
@media (min-width: 640px) {
    .container  { max-width: 640px; }
    .sm\:inline { display: inline; }
}

/* ── Responsive — lg (1024px) ─────────────────────────────────────────────── */
@media (min-width: 1024px) {
    .container    { max-width: 1024px; }
    .lg\:max-w-sm { max-width: 24rem; }
    .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-1  { grid-column: span 1 / span 1; }
    .lg\:col-span-3  { grid-column: span 3 / span 3; }
}

/* ── Responsive — xl (1280px) ─────────────────────────────────────────────── */
@media (min-width: 1280px) {
    .container    { max-width: 1280px; }
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .xl\:col-span-4  { grid-column: span 4 / span 4; }
}
