/* ===================================
   fuckhpprinters.com
   =================================== */

:root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #141414;
    --color-surface: #1a1a1a;
    --color-text: #e8e8e8;
    --color-text-muted: #888;
    --color-accent: #ff4444;
    --color-accent-hover: #ff6666;
    --color-good: #22c55e;
    --color-good-dim: #16a34a;
    --color-bad: #ef4444;
    --color-link: #60a5fa;
    --color-link-hover: #93c5fd;
    --color-sidebar-bg: #111;
    --sidebar-width: 320px;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== Nav ===== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #222;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.nav.visible {
    transform: translateY(0);
}

.nav-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.nav-logo-text {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--color-text);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.nav-logo:hover .nav-logo-text {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 1;
    min-width: 0;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--color-text);
}

.copy-link-btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    background: none;
    border: 1px solid var(--color-accent);
    border-radius: 6px;
    padding: 4px 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s;
    font-family: inherit;
    align-self: center;
}

.copy-link-btn:hover {
    background: var(--color-accent);
    color: #fff;
}

.copy-link-btn.copied {
    background: var(--color-good);
    border-color: var(--color-good);
    color: #000;
}

/* ===== Layout ===== */

.content {
    margin-right: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Sidebar ===== */

.sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: var(--sidebar-width);
    height: 100vh;
    background: var(--color-sidebar-bg);
    border-left: 1px solid #222;
    overflow-y: auto;
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 24px;
}

.sidebar.open {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.sidebar-header h2 {
    font-size: 1.25rem;
    color: var(--color-accent);
}

.sidebar-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
}

.sidebar-close:hover {
    color: var(--color-text);
}

.sidebar-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.sidebar-toggle {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: var(--color-accent);
    color: #fff;
    border: none;
    padding: 12px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 999;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 8px 0 0 8px;
    letter-spacing: 0.05em;
    transition: background 0.2s;
}

.sidebar-toggle:hover {
    background: var(--color-accent-hover);
}

.sidebar-toggle.active {
    background: #333;
}

.sidebar-toggle-icon {
    display: inline-block;
    transform: rotate(90deg);
    margin-bottom: 6px;
}

/* Shame list */

.shame-list {
    list-style: none;
}

.shame-list li {
    margin-bottom: 12px;
}

.shame-list a {
    display: block;
    padding: 12px;
    background: var(--color-surface);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    border: 1px solid #222;
}

.shame-list a:hover {
    background: #222;
    transform: translateX(-2px);
}

.shame-source {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.shame-title {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text);
    line-height: 1.4;
}

/* ===== Ticker ===== */

.ticker {
    background: #000;
    border-top: 1px solid var(--color-accent);
    border-bottom: 1px solid var(--color-accent);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    animation: tickerScroll 30s linear infinite;
}

.ticker-content {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
    flex-shrink: 0;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Hero ===== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    background: radial-gradient(ellipse at center bottom, #1a0000 0%, var(--color-bg) 70%);
}

.hero-logo {
    width: 180px;
    height: 180px;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.5;
}

.cta-button {
    display: inline-block;
    padding: 14px 36px;
    background: var(--color-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.cta-button:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

/* ===== Sections ===== */

.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--color-bg-alt);
}

.section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: #fff;
}

.section-intro {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 650px;
}

/* ===== Cards ===== */

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card {
    background: var(--color-surface);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 28px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--color-accent);
}

.card p {
    color: var(--color-text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.card p strong {
    color: var(--color-text);
}

.card cite {
    font-size: 0.8rem;
    font-style: normal;
}

.card cite a {
    color: var(--color-link);
    text-decoration: none;
}

.card cite a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}

/* ===== Stat Highlights ===== */

.stat-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 24px 32px;
    border-radius: 12px;
    flex: 1;
    min-width: 160px;
}

.stat.bad {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--color-bad);
}

.stat.good {
    background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid var(--color-good);
}

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.stat.bad .stat-number {
    color: var(--color-bad);
}

.stat.good .stat-number {
    color: var(--color-good);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.stat-vs {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

/* ===== Cost Counter ===== */

.cost-counter {
    margin-top: 40px;
    padding: 28px;
    background: var(--color-surface);
    border: 1px solid #222;
    border-radius: 12px;
    text-align: center;
}

.cost-counter-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.cost-counter-label strong {
    color: var(--color-text);
}

.cost-counter-row {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.cost-counter-item {
    flex: 1;
    min-width: 140px;
    max-width: 220px;
    padding: 20px;
    border-radius: 10px;
}

.cost-counter-item.bad {
    background: rgba(239, 68, 68, 0.08);
}

.cost-counter-item.good {
    background: rgba(34, 197, 94, 0.08);
}

.cost-counter-name {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.cost-counter-item.bad .cost-counter-name {
    color: var(--color-bad);
}

.cost-counter-item.good .cost-counter-name {
    color: var(--color-good);
}

.cost-counter-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-mono);
    line-height: 1;
    margin-bottom: 4px;
}

.cost-counter-item.bad .cost-counter-value {
    color: var(--color-bad);
}

.cost-counter-item.good .cost-counter-value {
    color: var(--color-good);
}

.cost-counter-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* ===== Comparison ===== */

.comparison {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.comparison-col {
    background: var(--color-surface);
    border-radius: 12px;
    padding: 28px;
    border: 2px solid #222;
}

.comparison-col h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.comparison-bad h3 {
    color: var(--color-bad);
}

.comparison-good h3 {
    color: var(--color-good);
}

.comparison-bad {
    border-color: rgba(239, 68, 68, 0.3);
}

.comparison-good {
    border-color: rgba(34, 197, 94, 0.3);
}

.comparison-col ul {
    list-style: none;
    margin-bottom: 20px;
}

.comparison-col li {
    padding: 8px 0;
    border-bottom: 1px solid #222;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.comparison-col li strong {
    color: var(--color-text);
}

.comparison-col li:last-child {
    border-bottom: none;
}

.comparison-verdict {
    font-weight: 800;
    font-size: 1rem;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-verdict.bad {
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-bad);
}

.comparison-verdict.good {
    background: rgba(34, 197, 94, 0.15);
    color: var(--color-good);
}

/* ===== Think About It ===== */

.think-about-it {
    margin-bottom: 40px;
}

.think-about-it p {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--color-text-muted);
}

.think-about-it p strong {
    color: #fff;
}

.think-about-it p em {
    color: var(--color-accent);
}

/* ===== Callout ===== */

.callout {
    background: var(--color-surface);
    border: 1px solid #222;
    border-left: 4px solid var(--color-accent);
    border-radius: 0 12px 12px 0;
    padding: 28px;
}

.callout h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #fff;
}

.callout p {
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.callout ul {
    list-style: none;
    margin: 16px 0;
}

.callout li {
    padding: 6px 0;
    color: var(--color-text-muted);
}

.callout li strong {
    color: var(--color-text);
}

.callout li a {
    color: var(--color-link);
    text-decoration: none;
    font-weight: 700;
}

.callout li a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}

/* ===== Mundane Scroller ===== */

.mundane-section {
    margin-top: 32px;
    text-align: center;
}

.mundane-intro {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.mundane-intro strong {
    color: var(--color-text);
}

.mundane-scroller {
    height: 140px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 24px;
    max-width: 500px;
}

.mundane-scroller::before,
.mundane-scroller::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    pointer-events: none;
    z-index: 1;
}

.mundane-scroller::before {
    top: 0;
    background: linear-gradient(to bottom, var(--color-bg-alt), transparent);
}

.mundane-scroller::after {
    bottom: 0;
    background: linear-gradient(to top, var(--color-bg-alt), transparent);
}

.mundane-track {
    animation: mundaneScroll 40s linear infinite;
}

.mundane-item {
    padding: 12px 0;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

@keyframes mundaneScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.mundane-conclusion {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.mundane-conclusion strong {
    color: #fff;
}

/* Pause on hover */
.mundane-scroller:hover .mundane-track {
    animation-play-state: paused;
}

/* ===== Print Services Dropdown ===== */

.print-services {
    margin-top: 16px;
}

.print-services summary {
    cursor: pointer;
    color: var(--color-link);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    list-style: none;
}

.print-services summary::-webkit-details-marker {
    display: none;
}

.print-services summary::before {
    content: '+ ';
    font-family: var(--font-mono);
}

.print-services[open] summary::before {
    content: '− ';
}

.print-services summary:hover {
    color: var(--color-link-hover);
}

.print-services ul {
    list-style: none;
    margin-top: 12px;
    padding-left: 16px;
    border-left: 2px solid #333;
}

.print-services li {
    padding: 8px 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.print-services li strong {
    color: var(--color-text);
}

.print-services li a {
    color: var(--color-link);
    text-decoration: none;
}

.print-services li a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}

/* ===== Recommendation ===== */

.recommendation {
    background: var(--color-surface);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 40px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.rec-content h3 {
    font-size: 1.5rem;
    color: var(--color-good);
    margin-bottom: 12px;
}

.rec-content h3 a {
    color: inherit;
    text-decoration: none;
}

.rec-content h3 a:hover {
    text-decoration: underline;
}

.rec-content p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.rec-content p strong {
    color: #fff;
}

.rec-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin-bottom: 20px;
}

.rec-features li {
    background: rgba(34, 197, 94, 0.1);
    color: var(--color-good);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.rec-image {
    flex-shrink: 0;
    width: 200px;
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rec-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.rec-content {
    flex: 1;
    min-width: 280px;
}

/* Alternative product grid */

.alt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.alt-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--color-surface);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 20px 16px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.alt-card:hover {
    border-color: var(--color-link);
    transform: translateY(-2px);
}

.alt-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 12px;
}

.alt-card strong {
    color: var(--color-link);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.alt-card span {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .alt-grid {
        grid-template-columns: 1fr;
    }

    .rec-image {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}

.rec-link a {
    display: inline-block;
    padding: 12px 28px;
    background: var(--color-good);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: background 0.2s;
}

.rec-link a:hover {
    background: var(--color-good-dim);
}

.rec-alternatives {
    margin-top: 20px;
}

.rec-alternatives h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.rec-alternatives p {
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.rec-alternatives ul {
    list-style: none;
}

.rec-alternatives li {
    padding: 8px 0;
    color: var(--color-text-muted);
}

.rec-alternatives li strong {
    color: var(--color-text);
}

.rec-alternatives li a {
    color: var(--color-link);
    text-decoration: none;
    font-weight: 700;
}

.rec-alternatives li a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}

/* ===== Footer ===== */

.footer {
    background: var(--color-bg-alt);
    border-top: 1px solid #222;
    padding: 48px 0;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-share {
    font-weight: 600;
    color: var(--color-text) !important;
}

/* ===== Footer Notes ===== */

.footer-notes {
    margin-bottom: 32px;
}

.footer-details {
    background: var(--color-surface);
    border: 1px solid #222;
    border-radius: 8px;
    margin-bottom: 12px;
}

.footer-details:last-child {
    margin-bottom: 0;
}

.footer-details summary {
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
    list-style: none;
}

.footer-details summary::-webkit-details-marker {
    display: none;
}

.footer-details summary::before {
    content: '+ ';
    font-family: var(--font-mono);
    color: var(--color-text-muted);
    margin-right: 4px;
}

.footer-details[open] summary::before {
    content: '− ';
}

.footer-details summary:hover {
    color: var(--color-accent);
}

.footer-details p {
    padding: 0 20px 12px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-details p:last-child {
    padding-bottom: 16px;
}

.footer-details a {
    color: var(--color-link);
    text-decoration: none;
}

.footer-details a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}

.footer-details a.raw-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.footer-details strong {
    color: var(--color-text);
}

/* ===== Responsive ===== */

/* Tablet and up */
@media (min-width: 640px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: sidebar always visible */
@media (min-width: 1024px) {
    .sidebar {
        right: 0;
        width: var(--sidebar-width);
        border-left: 1px solid #222;
    }

    .sidebar-close {
        display: none;
    }

    .sidebar-toggle {
        display: none;
    }

    .content {
        margin-right: var(--sidebar-width);
    }

    .footer {
        margin-right: var(--sidebar-width);
    }

    .nav {
        right: var(--sidebar-width);
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .container {
        max-width: 900px;
    }
}

/* Medium screens: hide logo text */
@media (max-width: 768px) {
    .nav-logo-text {
        display: none;
    }
}

/* Small screens */
@media (max-width: 640px) {
    .hero-logo {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 0.7rem;
    }
}

/* ===== Reduced Motion ===== */

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }

    .mundane-track {
        animation: none;
    }

    .nav {
        transition: none;
    }
}

/* ===== Print ===== */

@media print {
    body::before {
        content: "You're printing a website about why you shouldn't buy a printer. Think about that for a second.";
        display: block;
        padding: 20px;
        margin-bottom: 20px;
        font-size: 18px;
        font-weight: bold;
        border: 3px solid #000;
        text-align: center;
    }

    .sidebar,
    .sidebar-toggle,
    .ticker,
    .mundane-scroller,
    .hero-logo,
    .nav {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .content {
        margin-right: 0;
    }
}
