@import url('/assets/css/header.css');
@import url('/assets/css/footer.css');
@import url('/assets/css/editor.css');
@import url('/assets/css/forms.css');
@import url('/assets/css/admin.css');
@import url('/assets/css/policy.css');
@import url('/assets/css/banner.css');

:root {
    --bg: #2e3d4d;
    --surface: #f6f9f4;
    --surface-strong: #ffffff;
    --surface-muted: #edf3ea;
    --ink: #243240;
    --muted: #60707b;
    --line: rgba(36, 50, 64, 0.12);
    --line-strong: rgba(36, 50, 64, 0.2);
    --accent: #ed5947;
    --accent-dark: #d34736;
    --accent-soft: #fdb23a;
    --accent-soft-bg: #ffe2b1;
    --success: #1f7a45;
    --danger: #a63232;
    --shadow: 0 22px 60px rgba(8, 18, 27, 0.22);
    --shadow-soft: 0 10px 26px rgba(8, 18, 27, 0.12);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 10px;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(253, 178, 58, 0.14), transparent 24%),
        radial-gradient(circle at top right, rgba(237, 89, 71, 0.12), transparent 22%),
        linear-gradient(180deg, #344657 0%, #2e3d4d 100%);
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.shell {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.page-shell {
    padding: 36px 0 124px;
}

.page-intro {
    max-width: 760px;
    margin-bottom: 28px;
}

.page-intro h1 {
    margin: 0 0 14px;
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.page-intro p,
.help-text,
.panel-label,
.footer-copy {
    color: var(--muted);
    line-height: 1.6;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.button,
.tool-button {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    padding: 11px 16px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(237, 89, 71, 0.28);
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.tool-button:hover {
    transform: translateY(-1px);
    background: var(--accent-dark);
    box-shadow: 0 14px 30px rgba(211, 71, 54, 0.32);
}

.button--ghost {
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
}

.button--ghost:hover {
    background: #fff;
}

.notice {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.notice--error {
    background: rgba(166, 50, 50, 0.12);
    color: var(--danger);
    border-color: rgba(166, 50, 50, 0.18);
}

.notice--success {
    background: rgba(31, 122, 69, 0.12);
    color: var(--success);
    border-color: rgba(31, 122, 69, 0.18);
}

:focus-visible {
    outline: 3px solid rgba(253, 178, 58, 0.38);
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .shell {
        width: min(1240px, calc(100% - 28px));
    }
}

@media (max-width: 800px) {
    .page-shell {
        padding-bottom: 168px;
    }
}
