/* ========================================
   FUROH BRAND — Shared Design Tokens
   All pages import this before page-specific styles.
   Reference: Furoh Brand Guideline (Lora + Inter, paper palette)
   ======================================== */

/* ========================================
   1. FONTS
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ========================================
   2. CSS RESET
   ======================================== */

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

/* ========================================
   3. DESIGN TOKENS
   ======================================== */

:root {
    /* Typography */
    --font-serif: "Lora", Georgia, serif;
    --font-sans: "Inter", -apple-system, sans-serif;

    /* Colors — Paper palette */
    --color-paper: #FAF9F6;
    --color-white: #FFFFFF;
    --color-ink: #2C2C2C;
    --color-pencil: #6B6B6B;
    --color-muted: #9A9A9A;
    --color-sepia: #B8621B;
    --color-parchment: #F5EDE4;
    --color-border: #E8E4DF;
    --color-border-light: #F0ECE7;

    /* Status */
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    /* Spacing scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Container */
    --container-max: 860px;
    --container-padding: 1.5rem;

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease-out;
}

/* ========================================
   4. BASE STYLES
   ======================================== */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    background-color: var(--color-paper);
    color: var(--color-ink);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

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

/* ========================================
   5. LAYOUT
   ======================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ========================================
   6. SHARED COMPONENTS
   ======================================== */

/* Eyebrow label */
.eyebrow {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-sepia);
}

/* Primary button — Ink background, paper text */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    background: var(--color-ink);
    color: var(--color-paper);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    white-space: nowrap;
    transition: box-shadow var(--transition-normal);
}

.btn-primary:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Footer */
.footer {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.copyright {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-links a {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-muted);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-sepia);
}

/* ========================================
   7. ACCESSIBILITY
   ======================================== */

:focus-visible {
    outline: 2px solid var(--color-sepia);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================
   8. RESPONSIVE — Shared
   ======================================== */

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
