/* Print Swap Intro Site
   =====================
   Design principles: Restraint, quiet confidence, mobile-first, ages well.
   Font: Quattrocento Sans (sans-serif)
   Colors: Dark Navy primary, Gray secondary, Medium Blue links
*/

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

html {
    font-size: 100%; /* 16px base */
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Quattrocento Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.125rem; /* 18px */
    line-height: 1.7;
    color: #003d5b; /* Dark Navy - primary text */
    background-color: #fafafa; /* Off-white */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2 {
    font-family: 'Quattrocento Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #003d5b; /* Dark Navy */
}

h1 {
    font-size: 2.5rem; /* 40px */
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.25rem; /* 20px */
    margin-bottom: 1.5rem;
    font-weight: 400;
}

p {
    margin-bottom: 1.25rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: #30638e; /* Medium Blue */
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

a:hover {
    color: #003d5b; /* Dark Navy */
}

/* Layout */
main {
    flex: 1;
    width: 100%;
    max-width: 40rem; /* ~640px - comfortable reading width */
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Hero / Header */
.hero {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e5e5;
}

.logo {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

.descriptor {
    font-size: 1.125rem;
    color: #6b7280; /* Gray - secondary text */
    margin-bottom: 0;
}

/* Sections */
.section {
    margin-bottom: 3.5rem;
}

.section:last-of-type {
    margin-bottom: 2rem;
}

/* Tally form embed */
#interest iframe {
    min-height: 400px;
    margin-top: 1rem;
}

/* Footer */
.footer {
    width: 100%;
    max-width: 40rem;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    text-align: center;
    border-top: 1px solid #e5e5e5;
    color: #6b7280; /* Gray - secondary text */
    font-size: 0.9375rem; /* 15px */
}

.footer p {
    margin-bottom: 0.25rem;
}

.footer .copyright {
    margin-top: 1rem;
    font-size: 0.875rem; /* 14px */
}

/* Responsive adjustments */
@media (min-width: 640px) {
    body {
        font-size: 1.1875rem; /* 19px */
    }
    
    h1 {
        font-size: 3rem; /* 48px */
    }
    
    .logo {
        width: 150px;
    }
    
    main {
        padding: 5rem 2rem;
    }
    
    .hero {
        margin-bottom: 5rem;
        padding-bottom: 4rem;
    }
    
    .section {
        margin-bottom: 4rem;
    }
}

/* Accessibility: focus states */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #30638e;
    outline-offset: 2px;
}

/* Print styles (minimal) */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .form-placeholder {
        display: none;
    }
}
