/* === GLOBAL DESIGN SYSTEM === */

:root {
    /* Typography */
    --font-primary: 'Red Hat Display', sans-serif;
    --font-weight-bold: 700;
    --font-weight-regular: 400;

    /* Color Palette */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --accent-cta: #2563EB;

    /* Layout & Spacing */
    --content-max-width: 800px;
    --spacing-unit: 1rem; /* 16px */
}

/* === BASE & RESET === */

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

html {
    font-size: 100%; /* 16px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    text-align: center;
}

/* === TYPOGRAPHY === */

h1, h2, h3 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-unit);
    max-width: 70ch; /* Optimal line length for readability */
    margin-left: auto;
    margin-right: auto;
}

a {
    color: var(--accent-cta);
    text-decoration: none;
    transition: text-decoration 0.2s ease-in-out;
}

a:hover {
    text-decoration: underline;
}

/* === LAYOUT & SECTIONS === */

.content-section {
    padding: calc(var(--spacing-unit) * 4) var(--spacing-unit);
}

.container {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.alt-bg {
    background-color: var(--bg-secondary);
}

/* === COMPONENT STYLES === */

/* Hero Section */
#hero .subtext {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.125rem;
}

/* Process Section */
.process-steps-container {
    display: flex;
    justify-content: space-between;
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 3);
}

.process-step {
    flex: 1;
    padding: var(--spacing-unit);
}

.process-icon {
    font-size: 2.5rem;
    color: var(--accent-cta);
    margin-bottom: var(--spacing-unit);
}

/* About Section */
.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    border: 4px solid var(--bg-secondary);
}

/* CTA Button */
.btn-cta {
    display: inline-block;
    background-color: var(--accent-cta);
    color: var(--bg-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    margin-top: var(--spacing-unit);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.btn-cta:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Footer */
#footer {
    padding: calc(var(--spacing-unit) * 2) var(--spacing-unit);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Next Steps Page Specifics */
.page-next-steps .content-section {
    padding-top: calc(var(--spacing-unit) * 5);
    padding-bottom: calc(var(--spacing-unit) * 5);
}

.details-list {
    list-style-position: inside;
    text-align: left;
    max-width: 500px;
    margin: calc(var(--spacing-unit) * 1.5) auto;
    display: inline-block;
}

.details-list li {
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.signature {
    font-weight: var(--font-weight-bold);
    margin-top: calc(var(--spacing-unit) * 2);
}

/* === RESPONSIVE DESIGN === */

@media (max-width: 768px) {
    .content-section {
        padding: calc(var(--spacing-unit) * 3) var(--spacing-unit);
    }

    .process-steps-container {
        flex-direction: column;
        align-items: center;
        gap: calc(var(--spacing-unit) * 3);
    }

    .process-step {
        max-width: 350px;
    }
}