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

:root {
    --orange: #E8571A;
    --orange-light: #FF6B2B;
    --cream: #FAF8F4;
    --dark: #1C1A17;
    --mid: #6B6560;
    --border: rgba(28, 26, 23, 0.1);
}

html, body {
    height: 100%;
}

body {
    background-color: var(--cream);
    color: var(--dark);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    overflow-x: hidden;
}


/* Layout */
.wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Nav */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    animation: fadeDown 0.8s ease both;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--orange);
}

.nav-contact {
    font-size: 0.85rem;
    color: var(--orange);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-contact:hover,
.nav-contact:focus {
    text-decoration: underline;
}

/* Hero */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 0 4rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease 0.1s both;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--orange);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--dark);
    max-width: 16ch;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease 0.2s both;
}

h1 span {
    color: var(--orange);
}

.description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    color: var(--mid);
    line-height: 1.7;
    max-width: 48ch;
    margin-bottom: 3.5rem;
    animation: fadeUp 0.8s ease 0.3s both;
}

/* Form */
.form-wrap {
    animation: fadeUp 0.8s ease 0.4s both;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 0.75rem;
}

.form-row {
    display: flex;
    gap: 0;
    max-width: 480px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row:focus-within {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232, 87, 26, 0.1);
}

input[type="email"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.9rem 1.2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--dark);
    background: transparent;
}

input[type="email"]::placeholder {
    color: #BBB;
}

button[type="submit"] {
    border: none;
    background: var(--orange);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.9rem 1.5rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

button[type="submit"]:hover,
button[type="submit"]:focus {
    background: var(--orange-light);
}

.form-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--mid);
}

/* Stats row */
.stats {
    display: flex;
    gap: 3rem;
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    animation: fadeUp 0.8s ease 0.5s both;
    flex-wrap: wrap;
}

.stat-item {}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.25rem;
}

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

.stat-label {
    font-size: 0.8rem;
    color: var(--mid);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeUp 0.8s ease 0.6s both;
}

.footer-left {
    font-size: 0.8rem;
    color: var(--mid);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--mid);
}

.footer-left a,
.footer-right a {
    color: var(--orange);
    text-decoration: none;
}

.footer-left a:hover,
.footer-left a:focus,
.footer-right a:hover,
.footer-right a:focus {
    text-decoration: underline;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    display: inline-block;
    animation: pulse 2s ease infinite;
}

/* Animations */
@keyframes fadeUp {
    from {
    opacity: 0;
    transform: translateY(20px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
    opacity: 0;
    transform: translateY(-10px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Success state */
.success-msg {
    display: none;
    font-size: 0.9rem;
    color: var(--orange);
    font-weight: 500;
    margin-top: 0.75rem;
}

/* Privacy page */
main.privacy-main {
    padding: 4rem 0;
    justify-content: flex-start;
}


.privacy-header {
    margin-bottom: 3.5rem;
    animation: fadeUp 0.8s ease 0.1s both;
}

.privacy-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    max-width: none;
    margin-bottom: 0.75rem;
}

.privacy-header .updated {
    font-size: 0.85rem;
    color: var(--mid);
}

.privacy-body {
    max-width: 68ch;
    animation: fadeUp 0.8s ease 0.2s both;
}

.privacy-body section {
    margin-bottom: 3rem;
}

.privacy-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.privacy-body h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.privacy-body p {
    font-size: 0.95rem;
    color: var(--mid);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.privacy-body ul {
    margin: 0.5rem 0 0.75rem 1.25rem;
}

.privacy-body ul li {
    font-size: 0.95rem;
    color: var(--mid);
    line-height: 1.75;
    margin-bottom: 0.25rem;
}

.privacy-body a {
    color: var(--orange);
    text-decoration: none;
}

.privacy-body a:hover,
.privacy-body a:focus {
    text-decoration: underline;
}

.data-block {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.data-block h3 {
    margin-top: 0;
    font-size: 0.95rem;
}

.data-block .meta {
    font-size: 0.8rem;
    color: var(--mid);
    margin-top: 0.25rem;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0;
}

.pill {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--dark);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    letter-spacing: 0.02em;
}

/* Mobile */
@media (max-width: 600px) {
    .stats {
    gap: 2rem;
    }

    .form-row {
    flex-direction: column;
    border-radius: 4px;
    }

    button[type="submit"] {
    width: 100%;
    padding: 1rem;
    }

    footer {
    flex-direction: column;
    align-items: flex-start;
    }
}