/* zero users! - Embroidered Design System */
:root {
    --bg-color: #FFD32A;
    --text-color: #282828;
    --accent-color: #333333;
    --thread-highlight: #FFE566;
    --thread-shadow: #E6B820;
    --font-primary: 'Fira Code', monospace;
    --spacing-unit: 1.5rem;
    --max-width: 700px;
}

/* Embroidered texture overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    z-index: 1000;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(ellipse at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0,0,0,0.05) 0%, transparent 50%);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    padding: var(--spacing-unit);
    /* Subtle fabric-like texture */
    box-shadow: inset 0 0 100px rgba(0,0,0,0.03);
}

/* Typography - Embroidered thread effect */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-unit);
    /* Thread-like subtle shadow */
    text-shadow: 
        1px 1px 0 var(--thread-shadow),
        -1px -1px 0 var(--thread-highlight);
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: -0.02em;
    /* Slight unevenness like hand-stitched */
    transform: rotate(-0.3deg);
}

h2 {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    margin-top: calc(var(--spacing-unit) * 2);
}

h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-unit);
    max-width: var(--max-width);
    /* Soft shadow for depth */
    text-shadow: 0.5px 0.5px 0 rgba(255,255,255,0.3);
}

a {
    color: var(--text-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

a:hover {
    text-decoration-thickness: 2px;
}

/* Layout */
main {
    max-width: var(--max-width);
    margin: 0 auto;
}

section {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: calc(var(--spacing-unit) * 3) 0;
}

/* Content Sections */
.content {
    padding: var(--spacing-unit) 0;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 500;
}

.highlight {
    font-size: 1.1rem;
    font-weight: 600;
    padding-left: var(--spacing-unit);
    border-left: 3px dashed var(--text-color);
}

/* Project List - Stitched appearance */
.project-list {
    list-style: none;
    margin-bottom: var(--spacing-unit);
    padding: 1rem;
    background: rgba(255,255,255,0.08);
    border: 2px dashed rgba(40,40,40,0.2);
    border-radius: 4px;
}

.project-list li {
    font-size: 0.95rem;
    padding: 0.5rem 0;
    padding-left: var(--spacing-unit);
    position: relative;
}

.project-list li::before {
    content: "∙";
    position: absolute;
    left: 0;
}

.summary {
    font-weight: 500;
}

/* Features */
.feature {
    margin-bottom: var(--spacing-unit);
    padding: 1rem;
    padding-left: var(--spacing-unit);
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(40,40,40,0.15);
    border-radius: 3px;
}

.feature p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Pricing - Patch-like appearance */
.pricing {
    text-align: center;
    padding: calc(var(--spacing-unit) * 2) var(--spacing-unit);
    background-color: rgba(255, 255, 255, 0.12);
    border: 3px dashed rgba(40, 40, 40, 0.2);
    border-radius: 8px;
    margin-top: calc(var(--spacing-unit) * 2);
    /* Subtle patch dimension */
    box-shadow: 
        inset 0 0 20px rgba(255,255,255,0.1),
        0 4px 0 rgba(0,0,0,0.05);
}

.price {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 600;
    margin-bottom: var(--spacing-unit);
}

.or {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.6;
}

.cta-button {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    background-color: var(--text-color);
    color: var(--bg-color) !important;
    text-decoration: none;
    border-radius: 3px;
    /* Embroidered button look */
    border: 2px dashed rgba(255,211,42,0.3);
    box-shadow: 
        2px 2px 0 var(--thread-shadow),
        4px 4px 0 rgba(0,0,0,0.1);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover {
    transform: translate(-1px, -1px);
    box-shadow: 
        3px 3px 0 var(--thread-shadow),
        6px 6px 0 rgba(0,0,0,0.15);
}

/* FAQ */
.faq-item {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.06);
    border: 1px dashed rgba(40, 40, 40, 0.12);
    border-radius: 4px;
}

.faq-item h3 {
    margin-bottom: 0.75rem;
}

.faq-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Footer - Patch style */
.footer {
    text-align: center;
    padding: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 2);
    border: 2px dashed rgba(40, 40, 40, 0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
}

.footer h2 {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 480px) {
    :root {
        --spacing-unit: 0.875rem;
    }
    
    body {
        padding: 0.75rem;
    }
    
    .hero {
        padding: calc(var(--spacing-unit) * 2) 0;
    }
    
    .feature {
        padding-left: 1rem;
    }
    
    .highlight {
        padding-left: 0.75rem;
    }
}

/* Tablet */
@media (min-width: 768px) {
    :root {
        --spacing-unit: 1.75rem;
        --max-width: 800px;
    }

    body {
        padding: calc(var(--spacing-unit) * 1.5);
    }

    .hero {
        padding: calc(var(--spacing-unit) * 1.5) 0;
    }
    
    .hero h1 {
        margin-bottom: 0.75rem;
    }
    
    .font-credits {
        font-size: 0.8rem;
    }
    
    .content {
        padding: calc(var(--spacing-unit) * 0.5) 0;
    }
    
    .tagline {
        font-size: 1.25rem;
    }
    
    .project-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 1.5rem;
        padding: 1.5rem;
    }
    
    .project-list li {
        padding-left: 1.25rem;
    }
    
    .feature {
        padding: 1.25rem;
        padding-left: 1.5rem;
    }
    
    .faq-item {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-item p {
        font-size: 0.95rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    :root {
        --spacing-unit: 2rem;
        --max-width: 900px;
    }

    body {
        padding: calc(var(--spacing-unit) * 2);
    }

    .hero {
        padding: calc(var(--spacing-unit) * 1.5) 0;
    }
    
    .tagline {
        font-size: 1.4rem;
    }
    
    .content p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .highlight {
        font-size: 1.25rem;
    }
    
    .project-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem 2rem;
        padding: 2rem;
    }
    
    .project-list li {
        font-size: 1rem;
    }
    
    .feature {
        display: grid;
        grid-template-columns: 200px 1fr;
        gap: 1rem;
        padding: 1.5rem;
        padding-left: 1.5rem;
        align-items: start;
    }
    
    .feature h3 {
        margin-bottom: 0;
    }
    
    .pricing {
        padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 2);
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
    
    .faq-item {
        padding: 1.5rem 2rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
    
    .faq-item p {
        font-size: 1rem;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    :root {
        --max-width: 1000px;
        --spacing-unit: 2.5rem;
    }

    body {
        padding: calc(var(--spacing-unit) * 2.5);
    }

    .hero {
        padding: calc(var(--spacing-unit) * 1.5) 0;
    }
    
    h1 {
        font-size: 5.5rem;
    }
    
    .content p {
        font-size: 1.05rem;
    }
}
