@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-v17-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
 
@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-v17-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
 
@font-face {
  font-family: 'Oswald';
  src: url('/assets/fonts/oswald-v57-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
 
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono-v20-latin-regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

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

html, body {
    height: 100%;
    background: #000;
    overflow: hidden;
}

.hidden {display: none !important;}

#landing {
    position: relative;
    width: 100%;
    height: 100%;
    background: #0f0f0f;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#landing-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 0 clamp(24px, 5vm, 48px);
}

#landing-wordmark {
    font-family: 'Oswald', Impact, sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 5vw, 42px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e8e6e1;
    margin-bottom: clamp(28px, 4vw, 44px);
    line-height: 1.1;
}

#landing-body {
    margin-bottom: clamp(32px, 5vw, 48px);
}

#landing-body p {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.75;
    color: #6b6966;
    margin-bottom: 16px;
}

#landing-body p:last-child {
    margin-bottom: 0;
}

#landing-body em {
    color: #e8e6e1;
    font-style: normal;
}

#landing-rule {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin-bottom: clamp(24px, 3vw, 36px);
}

#landing-buttons {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 16px);
    flex-wrap: wrap;
}

#btn-power {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4a87a;
    background: transparent;
    border: 1px solid #7a5c3a;
    padding: 10px 20px;
    cursor: pointer;
    margin-right: auto;
}

#btn-power:hover {
    background: #d4a87a;
    border-color: #d4a87a;
}

#btn-power:focus-visible {
    outline: 2px solid #d4a87a;
    outline-offset: 2px;
}

#btn-power svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.btn-era {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6b6966;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.07);
    padding: 10px 16px;
    cursor: pointer;
}

.btn-era:focus-visible {
    outline: 2px solid #d4a87a;
    outline-offset: 2px;
}

#landing-footer {
    position: absolute;
    bottom: clamp(16px, 3vw, 28px);
    left: 50%;
    transform: translateX(-50%);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.12);
    text-transform: uppercase;
    z-index: 1;
    white-space: nowrap;
}

@media (max-width: 500px) {
    #landing-buttons {
        flex-direction: column;
        align-items: stretch;
    } 

    #btn-power {
        margin-right: 0;
        justify-content: center;
    }

    .btn-era {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    #landing::before { display: none; }
}
