:root {
    --sf-blue: #005fb2;
    --fx-accent: #008080;
    --text-main: #2e2e2e;
    --bg-surface: #ffffff;
    --bg-page: #f3f3f3;
    --border-color: #dddbda;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    width: 90%;
    padding: 40px 20px;
    text-align: center;
}

.hero {
    margin-bottom: 40px;
}

.logo {
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--fx-accent);
    margin: 0;
}

.subtitle {
    font-size: 0.85rem;
    color: var(--sf-blue);
    letter-spacing: 1px;
    margin-top: 5px;
    font-weight: 600;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h2 {
    color: var(--sf-blue);
    font-size: 1.25rem;
    margin-top: 0;
}

.card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 25px;
}

.btn {
    display: block;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.primary-btn {
    background-color: var(--fx-accent);
    color: white;
}

.primary-btn:hover {
    background-color: #006666;
}

.secondary-btn {
    background-color: #e0e0e0;
    color: var(--text-main);
}

.secondary-btn:hover {
    background-color: #d0d0d0;
}

footer {
    font-size: 0.85rem;
    color: #777;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

/* --- Additional Layout Adjustments for Inner Pages --- */

.page-container {
    text-align: left;
    max-width: 750px;
    margin: 0 auto;
    display: block;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo-small {
    font-size: 1.5rem;
    color: var(--fx-accent);
    margin: 0;
}

.back-link {
    color: var(--sf-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.back-link:hover {
    text-decoration: underline;
}

.content-box {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.04);
    margin-bottom: 30px;
    text-align: left;
}

.content-box h2 {
    color: var(--sf-blue);
    margin-top: 0;
    font-size: 1.75rem;
}

.content-box h3 {
    color: var(--sf-blue);
    font-size: 1.1rem;
    margin-top: 30px;
}

.intro-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
}

/* Responsive Video Container (Ready for YouTube Embed) */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.steps-list ul {
    text-align: left;
    margin: 10px 0;
    padding-left: 20px;
    color: #444;
    line-height: 1.6;
}

.steps-list p {
    color: #444;
    line-height: 1.6;
}

.bottom-nav {
    margin-top: 40px;
    text-align: center;
}

.about-section {
    width: 100%;
    max-width: 664px; /* Matches the combined width of your two cards grid */
    margin: 0 auto 35px auto;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.about-lead {
    margin-bottom: 20px;
    text-align: center; /* Centers the opening hook nicely */
}

.about-bullets {
    margin: 0 0 0 20px;
    padding-left: 10px;
}

.about-bullets li {
    margin-bottom: 12px;
}
