* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #FAFAF9;
    color: #1F2937;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

.bold-text {
  font-weight: 600;
}

body a:link {
  color: #1F2937;     
}

body a:visited {
  color: #1F2937;     
}

body a:hover {
  color: #06b6d4;   
}

body a:active {
  color: #06b6d4;      
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #1F2937;
}

/* Nav (desktop) */
nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #1F2937;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #06b6d4;
}

/* Toggle (hidden checkbox) */
.nav-toggle {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: #1F2937;
    transition: transform 0.3s, opacity 0.3s;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
}

.hero-content {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    font-size: 2rem;
    line-height: 1.8;
}

.hero-line {
    margin-bottom: 2rem;
    filter: blur(8px);
    transition: filter .5s ease-out;
    transform: translateZ(0); /* Forces GPU rendering */
    -webkit-transform: translateZ(0);
    will-change: filter;
}

.hero-line.focused {
    filter: blur(0);
}

.keyword {
    font-weight: 700;
    padding: 2px 6px;
    cursor: pointer;
    transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline;
    border-radius: 3px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.keyword-coral {
    background-color: rgba(255, 107, 107, 0.2);
}

.keyword-coral:hover {
    background-color: rgba(255, 107, 107, 0.35);
}

.keyword-teal {
    background-color: rgba(6, 182, 212, 0.2);
}

.keyword-teal:hover {
    background-color: rgba(6, 182, 212, 0.35);
}

.keyword-purple {
    background-color: rgba(168, 85, 247, 0.2);
}

.keyword-purple:hover {
    background-color: rgba(168, 85, 247, 0.35);
}

.keyword-sage {
    background-color: rgba(16, 185, 129, 0.2);
}
.keyword-sage:hover {
    background-color: rgba(16, 185, 129, 0.35);
}

.content-section {
    padding: 4rem 1.5rem;
    border-left: 5px solid;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateX(-40px);
}

.content-section.visible {
    opacity: 1;
    transform: translateX(0);
}

.section-content {
    max-width: 1024px;
    margin: 0 auto;
}

.section-heading {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid;
    filter: blur(8px);
    transition: filter 0.8s ease-out;
}

.section-subheading {
    font-size: 1.563rem;
    font-weight: bold;
    margin-bottom: 1rem;
    filter: blur(8px);
    transition: filter 0.8s ease-out;
}

.section-list {
    list-style: none;
    padding: 0;
}

.section-list li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    filter: blur(6px);
    transition: filter 0.8s ease-out;
}

.section-list li.indented {
    padding-left: 2rem;
}

/* De-blur */
.content-section.visible .section-heading,
.content-section.visible .section-subheading,
.content-section.visible .section-list li {
    filter: blur(0);
}

.bullet {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

.section-coral {
    background-color: rgba(255, 107, 107, 0.08);
    border-left-color: #FF6B6B;
}

.section-coral .section-heading {
    border-bottom-color: #FF6B6B;
}

.section-coral .bullet {
    color: #FF6B6B;
}

.section-teal {
    background-color: rgba(6, 182, 212, 0.08);
    border-left-color: #06B6D4;
}

.section-teal .section-heading {
    border-bottom-color: #06B6D4;
}

.section-teal .bullet {
    color: #06B6D4;
}

.section-mono {
    background-color: rgba(242, 242, 242, 1);
    border-left-color: #747474;
}

.section-mono .section-heading {
    border-bottom-color: #747474;
}

.section-mono .bullet {
    color: #747474;
}

.section-purple {
    background-color: rgba(168, 85, 247, 0.08);
    border-left-color: #A855F7;
}

.section-purple .section-heading {
    border-bottom-color: #A855F7;
}

.section-purple .bullet {
    color: #A855F7;
}

.section-sage {
    background-color: rgba(16, 185, 129, 0.08);
    border-left-color: #10B981;
}

.section-sage .section-heading {
    border-bottom-color: #10B981;
}

.section-sage .bullet {
    color: #10B981;
}

@media (min-width: 1025px) {
    .hero-content {
        font-size: 2rem;
    }
    
    .content-section {
        margin-bottom: 6rem;
    }
    
    .content-section:last-of-type {
        margin-bottom: 4rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        font-size: 1.75rem;
    }
    
    .content-section {
        margin-bottom: 6rem;
    }
    
    .content-section:last-of-type {
        margin-bottom: 4rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding-top: 140px;
        padding-bottom: 3rem;
    }
    
    .hero-content {
        font-size: 1.25rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .section-list li {
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: calc(1rem * 2 + 2rem * 1.6); /* matches original header height */
        right: -100%;
        flex-direction: column;
        background-color: white;
        padding: 1.5rem;
        gap: 1rem;
        min-width: 200px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .nav-toggle:checked ~ nav {
        right: 0;
    }

    /* Hamburger animation */
    .nav-toggle:checked + .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle:checked + .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked + .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}
