@font-face {
    font-family: 'Google Sans';
    src: url('/fonts/GoogleSans-VariableFont.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Google Sans';
    src: url('/fonts/GoogleSans-Italic-VariableFont.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    /* Corporate Memphis palette */
    --bg: #FDF6EE;
    --bg-card: #FFFFFF;
    --bg-subtle: #F5EDE3;
    --text-primary: #1A1A2E;
    --text-secondary: #5C5C76;
    --text-tertiary: #9494A8;

    --coral: #EB5757;
    --amber: #F7B733;
    --mint: #6FCF97;
    --sky: #5698F9;
    --lavender: #BB6BD9;
    --peach: #F2994A;

    --accent: var(--coral);
    --accent-soft: #FDECEA;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 12px 40px rgba(26, 26, 46, 0.1);
    --shadow-card: 0 8px 32px rgba(26, 26, 46, 0.07), 0 1px 3px rgba(26, 26, 46, 0.04);

    --border: rgba(26, 26, 46, 0.08);
}

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

body {
    font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Form elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 0.88em;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-subtle);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1em;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--sky);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(86, 152, 249, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

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

.submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--sky);
    border: none;
    border-radius: var(--radius-full);
    color: #fff;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(86, 152, 249, 0.3);
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(86, 152, 249, 0.35);
    background: #4488E8;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    display: none;
    background: var(--accent-soft);
    border: 2px solid var(--coral);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-top: 16px;
    color: var(--coral);
    font-size: 0.9em;
    text-align: center;
    font-weight: 500;
}

.error-message.show {
    display: block;
}

/* Icon utility */
.icon-sm {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(20%) sepia(10%) saturate(600%) hue-rotate(200deg);
    opacity: 0.6;
}
