.fe-page,
.landing-page {
    background-color: var(--fe-archive);
    color: var(--fe-parchment);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.panel-bezel {
    border: 1px solid var(--fe-hairline);
    background: rgba(13, 15, 18, 0.7);
    backdrop-filter: blur(12px);
    position: relative;
}

.panel-bezel::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid rgba(233, 227, 214, 0.05);
    pointer-events: none;
}

.panel-inset {
    border: 1px solid var(--fe-hairline);
    background: rgba(6, 7, 10, 0.5);
}

.tick-tl, .tick-tr, .tick-bl, .tick-br {
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: var(--fe-brass);
    pointer-events: none;
}

.tick-tl { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }
.tick-tr { top: -1px; right: -1px; border-top: 1px solid; border-right: 1px solid; }
.tick-bl { bottom: -1px; left: -1px; border-bottom: 1px solid; border-left: 1px solid; }
.tick-br { bottom: -1px; right: -1px; border-bottom: 1px solid; border-right: 1px solid; }

.coord-label {
    font-family: 'Public Sans', sans-serif;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--fe-zinc);
}

.fe-section,
.chapter-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    padding: 120px 0;
}

/* w-full on .reveal negates justify-center on the section; center max-width children explicitly */
.chapter-section.justify-center > .reveal > [class*="max-w-"],
.fe-section.justify-center > .reveal > [class*="max-w-"] {
    margin-inline: auto;
}

.fe-section--compact {
    min-height: auto;
    padding: 96px 0;
}

.fe-section--short {
    min-height: 60vh;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fe-page-title {
    font-family: 'Public Sans', sans-serif;
    font-weight: 800;
    color: var(--fe-parchment);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.fe-section-title {
    font-family: 'Public Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--fe-parchment);
}

.fe-chapter-number {
    font-family: 'Public Sans', sans-serif;
    font-weight: 700;
    color: var(--fe-graphite);
    -webkit-text-stroke: 1px var(--fe-zinc);
}

.fe-input,
input.fe-input,
textarea.fe-input,
select.fe-input {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(6, 7, 10, 0.6);
    border: 1px solid var(--fe-hairline);
    border-radius: 0;
    color: var(--fe-parchment);
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
}

textarea.fe-input {
    min-height: 8rem;
    resize: vertical;
}

.fe-input:focus,
input.fe-input:focus,
textarea.fe-input:focus,
select.fe-input:focus {
    outline: none;
    border-color: rgba(194, 173, 130, 0.5);
    box-shadow: 0 0 0 1px rgba(194, 173, 130, 0.2);
    background-color: rgba(6, 7, 10, 0.8);
}

.fe-input::placeholder,
input.fe-input::placeholder,
textarea.fe-input::placeholder {
    color: var(--fe-zinc);
    opacity: 1;
}

input.fe-input:-webkit-autofill,
input.fe-input:-webkit-autofill:hover,
input.fe-input:-webkit-autofill:focus,
textarea.fe-input:-webkit-autofill,
textarea.fe-input:-webkit-autofill:hover,
textarea.fe-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(6, 7, 10, 0.95) inset;
    -webkit-text-fill-color: var(--fe-parchment);
    caret-color: var(--fe-parchment);
    transition: background-color 9999s ease-out;
}

.fe-input--error {
    border-color: rgba(77, 90, 92, 0.8);
    box-shadow: 0 0 0 1px rgba(77, 90, 92, 0.3);
}

.fe-field-error {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fe-safety);
    margin-top: 0.5rem;
}

.fe-label {
    font-family: 'Public Sans', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--fe-zinc);
}

.fe-prose {
    color: var(--fe-zinc);
    font-size: 0.875rem;
    line-height: 1.7;
}

.fe-prose h2,
.fe-prose h3 {
    color: var(--fe-parchment);
    font-family: 'Public Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.fe-prose a {
    color: var(--fe-brass);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fe-prose a:hover {
    color: var(--fe-parchment);
}

.fe-prose ul,
.fe-prose ol {
    margin: 1rem 0;
    padding-left: 1.25rem;
}

.fe-prose ul {
    list-style: none;
}

.fe-prose ul li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.fe-prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 4px;
    height: 4px;
    background-color: var(--fe-brass);
    transform: rotate(45deg);
}

.fe-prose ol {
    list-style-type: decimal;
}

.fe-prose ol li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.fe-prose ol li::marker {
    color: var(--fe-brass);
    font-family: 'Public Sans', sans-serif;
    font-size: 0.75rem;
}

@media (max-width: 1023px) {
    .landing-side-nav {
        display: none;
    }
}
