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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.4;
    font-weight: 400;
    min-height: 100vh;
    overflow-x: visible;
}

/* Container with Swiss design grid system */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: visible;
}

/* Header section with single column layout */
.header {
    padding: 48px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 48px;
    margin-bottom: 72px;
}

/* Logo section */
.logo-section {
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.logo {
    width: 360px;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
}

/* Block height section - Swiss design typography */
.block-height-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.block-height-label {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 0;
    text-align: left;
}

.block-height-number {
    font-size: clamp(58px, 9.6vw, 240px);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
    margin-bottom: 0;
    text-align: left;
}

.last-updated {
    font-size: 14px;
    font-weight: 300;
    color: #666666;
    letter-spacing: 0.05em;
    text-align: left;
}

/* Main content area */
.main-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.description {
    max-width: 400px;
}

.description p {
    font-size: 19px;
    font-weight: 300;
    color: #cccccc;
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 1024px) {
    .container {
        max-width: none;
        padding: 0 20px;
    }
    
    .block-height-number {
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 1000px) {
    .container {
        max-width: none;
        padding: 0;
    }
    
    .header {
        padding: 48px 24px;
    }
    
    .block-height-section {
        width: 100%;
    }
    
    .block-height-number {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        gap: 36px;
        padding: 24px 19px;
        margin-bottom: 48px;
    }
    
    .logo {
        width: 300px;
    }
    
    .block-height-section {
        width: 100%;
    }
    
    .block-height-number {
        font-size: clamp(43px, 14.4vw, 144px);
    }
    
    .block-height-label {
        font-size: 13px;
    }
    
    .description {
        max-width: 100%;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .header {
        gap: 30px;
        padding: 19px 19px;
        margin-bottom: 36px;
    }
    
    .logo {
        width: 240px;
    }
    
    .block-height-section {
        width: 100%;
    }
    
    .block-height-number {
        font-size: clamp(34px, 18vw, 120px);
    }
    
    .block-height-label {
        font-size: 12px;
    }
    
    .description {
        padding: 0 16px;
    }
    
    .description p {
        font-size: 17px;
    }
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.block-height-number.loading {
    animation: pulse 2s ease-in-out infinite;
}

/* Smooth transitions */
.block-height-number {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
.block-height-number:focus {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .block-height-number {
        color: #ffffff;
        text-shadow: 1px 1px 0 #000000;
    }
    
    .block-height-label {
        color: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .block-height-number {
        animation: none;
        transition: none;
    }
}
