/* ============================================
   Sanngirni.is — Ghost Theme Styles
   Ported from Next.js Tailwind design
   ============================================ */

:root {
    --bg: #f5f3f0;
    --fg: #1a1a2e;
    --secondary: #4a4a5a;
    --accent: #7b2d3b;
    --accent-light: rgba(123, 45, 59, 0.1);
    --accent-half: rgba(123, 45, 59, 0.5);
    --dark: #0f0f1a;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --max-content: 720px;
    --max-wide: 1280px;
    --radius: 12px;
    --radius-full: 9999px;
}

/* ---- Reset & Base ---- */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background-color: rgba(123, 45, 59, 0.2);
}

/* ---- Layout ---- */

.container {
    max-width: var(--max-wide);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 1.5rem;
}

.section--center {
    text-align: center;
}

.section--center .btn-primary {
    margin-top: 2.5rem;
}

/* ---- Header ---- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--dark);
    transition: all 0.5s ease;
}

.site-header.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(15, 15, 26, 0.1);
}

.header-inner {
    max-width: var(--max-wide);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--white);
}

.logo-accent {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--accent);
}

.site-nav {
    display: none;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 0.5rem 0.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link--active {
    color: var(--white);
}

/* Mobile Toggle */

.mobile-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.open {
    max-height: 400px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem;
    max-width: var(--max-wide);
    margin: 0 auto;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

@media (min-width: 768px) {
    .site-nav {
        display: flex;
    }
    .mobile-toggle {
        display: none;
    }
}

/* ---- Hero ---- */

.hero-gradient {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 25%, #2a1528 50%, #1a1a2e 75%, #0f0f1a 100%);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 1.5rem;
}

.hero--image {
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 26, 0.75);
    backdrop-filter: blur(2px);
}

.hero-home {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
    overflow: hidden;
    padding: 6rem 1.5rem;
    text-align: center;
}

.hero-dots {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 25% 25%, white 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, white 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.hero-content--home {
    max-width: 56rem;
}

.hero-eyebrow {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(123, 45, 59, 0.8);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
}

.hero-title--home {
    font-size: 3rem;
}

.hero-subtitle {
    max-width: 40rem;
    margin: 2rem auto 0;
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

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

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

@media (min-width: 640px) {
    .hero-title--home {
        font-size: 3.75rem;
    }
    .hero-actions {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title--home {
        font-size: 4.5rem;
    }
}

/* ---- Buttons ---- */

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(123, 45, 59, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    border: 2px solid var(--accent);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---- Accent Line ---- */

.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(123, 45, 59, 0.5));
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.accent-line--center {
    margin-left: auto;
    margin-right: auto;
}

/* ---- Glass Card ---- */

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 26, 46, 0.08);
}

/* ---- Stats Bar ---- */

.stats-bar {
    position: relative;
    z-index: 20;
    margin-top: -3rem;
    padding: 0 1.5rem;
}

.stats-grid {
    max-width: 56rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    border-radius: var(--radius);
    overflow: hidden;
}

.stat-card {
    padding: 2rem;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    margin-top: 0.25rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--secondary);
}

@media (min-width: 640px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- Section Title ---- */

.section-title {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    max-width: 36rem;
    margin: 1.5rem auto 0;
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--secondary);
}

.section-text {
    margin-top: 2rem;
}

.section-text p {
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--secondary);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

/* ---- Feature Cards ---- */

.feature-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 4rem;
}

.feature-card {
    display: block;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid rgba(26, 26, 46, 0.05);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(123, 45, 59, 0.05);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    background: var(--accent-light);
    border-radius: var(--radius-full);
    color: var(--accent);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
}

.feature-desc {
    margin-top: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--secondary);
}

.feature-arrow {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.2s;
}

.feature-card:hover .feature-arrow {
    opacity: 1;
}

@media (min-width: 640px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- Quote Section ---- */

.quote-section {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    padding: 6rem 1.5rem;
}

.quote-bg {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background: radial-gradient(circle at 20% 50%, var(--accent) 0%, transparent 50%);
    pointer-events: none;
}

.quote-inner {
    position: relative;
    max-width: var(--max-content);
    margin: 0 auto;
    text-align: center;
}

.elegant-quote {
    position: relative;
    display: inline-block;
    text-align: left;
    padding-left: 2rem;
}

.elegant-quote::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 4rem;
    line-height: 1;
    color: rgba(123, 45, 59, 0.15);
    font-family: var(--font-heading);
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .quote-text {
        font-size: 1.875rem;
    }
}

/* ---- Post Cards ---- */

.post-grid {
    display: grid;
    gap: 1.5rem;
}

.post-card-link {
    display: block;
}

.post-card {
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(26, 26, 46, 0.05);
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.post-card-link:hover .post-card {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(123, 45, 59, 0.05);
}

.post-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card-link:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-light), rgba(15, 15, 26, 0.05));
}

.post-card-placeholder span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: rgba(74, 74, 90, 0.2);
}

.post-card-body {
    padding: 1.5rem;
}

.post-card-date {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(74, 74, 90, 0.5);
}

.post-card-title {
    margin-top: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--fg);
    line-height: 1.4;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-link:hover .post-card-title {
    color: var(--accent);
}

.post-card-excerpt {
    margin-top: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-more {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.2s;
}

.post-card-link:hover .post-card-more {
    opacity: 1;
}

@media (min-width: 640px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.no-posts-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--accent-light);
    border: 1px solid rgba(123, 45, 59, 0.1);
    border-radius: var(--radius);
}

.no-posts-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--fg);
}

.no-posts-text {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--secondary);
    margin-top: 0.5rem;
}

/* ---- Pagination ---- */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 26, 46, 0.08);
}

.pagination-info {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--secondary);
}

/* ---- Post Tags ---- */

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 26, 46, 0.08);
}

.post-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-light);
    border-radius: var(--radius-full);
    transition: all 0.2s;
}

.post-tag:hover {
    background: var(--accent);
    color: var(--white);
}

/* ---- Ghost Content (Prose) ---- */

.gh-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
}

.gh-content h2 {
    font-size: 1.875rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.gh-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
}

.gh-content p {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--secondary);
}

.gh-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.gh-content ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.gh-content li {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--secondary);
}

.gh-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.125rem;
    color: var(--secondary);
}

.gh-content a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(123, 45, 59, 0.3);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.2s;
}

.gh-content a:hover {
    text-decoration-color: var(--accent);
}

.gh-content img {
    border-radius: var(--radius);
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gh-content figure {
    margin: 2rem 0;
}

.gh-content figcaption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--secondary);
    text-align: center;
}

.gh-content hr {
    border: none;
    border-top: 1px solid rgba(26, 26, 46, 0.1);
    margin: 3rem 0;
}

/* Koenig editor width classes */
.gh-content .kg-width-wide {
    max-width: min(1040px, calc(100vw - 3rem));
    margin-left: calc(50% - min(520px, calc(50vw - 1.5rem)));
}

.gh-content .kg-width-full {
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.gh-content .kg-width-wide img,
.gh-content .kg-width-full img {
    width: 100%;
}

/* Ghost cards (gallery, bookmark, etc.) */
.gh-content .kg-image-card,
.gh-content .kg-gallery-card {
    margin: 2rem 0;
}

.gh-content .kg-image-card img {
    margin: 0;
}

.gh-content .kg-bookmark-card {
    border: 1px solid rgba(26, 26, 46, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 2rem 0;
}

/* ---- Footer ---- */

.site-footer {
    background: var(--dark);
    color: var(--white);
}

.footer-inner {
    max-width: var(--max-wide);
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    padding: 4rem 0;
}

.footer-brand .site-logo {
    font-size: 1.5rem;
}

.footer-desc {
    margin-top: 1rem;
    max-width: 280px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.3);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* ---- Animations ---- */

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fade-up 0.8s ease-out forwards;
}

.animate-fade-up-delay {
    opacity: 0;
    animation: fade-up 0.8s ease-out 0.2s forwards;
}

.animate-fade-up-delay-2 {
    opacity: 0;
    animation: fade-up 0.8s ease-out 0.4s forwards;
}

/* Scroll-triggered fade-ups */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Petition Page ---- */

.petition-count {
    position: relative;
    margin-top: -5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    text-align: center;
    background: var(--white);
    border: 1px solid rgba(123, 45, 59, 0.2);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.petition-count-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
}

.petition-count-label {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--secondary);
    margin-top: 0.25rem;
}

.petition-form-card {
    background: var(--white);
    border: 1px solid rgba(26, 26, 46, 0.05);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.petition-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--fg);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--fg);
    background: var(--bg);
    border: 1px solid rgba(26, 26, 46, 0.1);
    border-radius: 8px;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

.form-input::placeholder {
    color: rgba(74, 74, 90, 0.4);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.petition-submit {
    width: 100%;
    text-align: center;
}

.petition-error {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: #dc2626;
}

.petition-success {
    text-align: center;
    padding: 2rem 0;
}

.petition-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    background: var(--accent-light);
    border-radius: 50%;
    color: var(--accent);
}

.petition-success-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fg);
}

.petition-success-text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--secondary);
    margin-top: 1rem;
}

.petition-again-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.petition-again-link:hover {
    color: var(--fg);
}

.petition-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.sig-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid rgba(26, 26, 46, 0.05);
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.2s;
}

.sig-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.sig-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--accent-light);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
}

.sig-name {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--fg);
}

.sig-date {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(74, 74, 90, 0.5);
}

.sig-comment {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-style: italic;
    color: var(--secondary);
    margin-top: 0.5rem;
}
