html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body.golden-public-page {
    min-height: 100vh;
    margin: 0;
}

.golden-skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 12px 18px;
    background: #e5c382;
    color: #071827;
    font-weight: 700;
}

.golden-skip-link:focus {
    top: 12px;
}

.golden-floating-actions {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.golden-floating-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 11px 15px;
    border: 1px solid rgba(221, 185, 112, .55);
    border-radius: 999px;
    background: #10243a;
    color: #f6f0e5;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .18);
    font: 650 13px/1.2 system-ui, sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform .2s ease,
        background .2s ease,
        opacity .2s ease;
}

.golden-floating-action:hover {
    transform: translateY(-2px);
    background: #203b55;
}

.golden-floating-action:focus-visible {
    outline: 3px solid #dcb979;
    outline-offset: 3px;
}

.golden-floating-action svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.golden-floating-action--reserve {
    background: #bd9654;
    color: #071827;
}

.golden-floating-action--reserve:hover {
    background: #dfbb79;
}

.golden-floating-action--top {
    background: #f9f6ef;
    color: #10243a;
}

.golden-floating-action--top[hidden] {
    display: none;
}

.golden-public-page .container {
    width: min(940px, calc(100% - 40px));
    margin-inline: auto;
}

.golden-public-page .container > .intro {
    padding-top: 40px;
}

.golden-public-page .panel {
    margin-bottom: 60px;
}

html[data-theme="dark"] .golden-public-page {
    background: #071827;
    color: #f6f0e5;
}

html[data-theme="dark"] .golden-public-page .panel {
    background: #102538;
    color: #f6f0e5;
    border-color: #334459;
}

html[data-theme="dark"] .golden-public-page .panel h2 {
    color: #f6f0e5;
}

html[data-theme="dark"] .golden-public-page input:not([type="checkbox"]),
html[data-theme="dark"] .golden-public-page select,
html[data-theme="dark"] .golden-public-page textarea {
    background: #172f43;
    color: #fff;
    border-color: #4b6073;
}

@media (max-width: 640px) {
    .golden-floating-actions {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }

    .golden-floating-action {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .golden-floating-action {
        transition: none;
    }
}

/* Keep legacy form styling scoped to its own main content. */
.golden-public-page main.container {
    padding-bottom: 20px;
}

.golden-public-page .intro h1 {
    color: inherit;
}

.insights-public-main {
    width: min(1180px, calc(100% - 40px));
    margin: 55px auto 80px;
    min-height: 40vh;
}

.golden-public-page .golden-footer {
    margin-top: 0;
}

/* Golden Step public base template: white content canvas */
html body.golden-public-page {
    background-color: #ffffff;
}

body.golden-public-page main,
body.golden-public-page main.container,
body.golden-public-page main.insights-public-main,
body.golden-public-page main.public-projects-page {
    background-color: #ffffff;
}

/* Preserve white content in both theme modes. */
html[data-theme="dark"] body.golden-public-page,
html[data-theme="dark"] body.golden-public-page main {
    background-color: #ffffff;
}

/* Maintain readable text on the white canvas. */
body.golden-public-page main {
    color: #142334;
}

html[data-theme="dark"] body.golden-public-page main {
    color: #142334;
}
