:root {
    --bg-base: #06090f;
    --bg-surface: rgba(13, 18, 30, 0.75);
    --bg-surface-solid: #0d121e;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 245, 233, 0.25);
    --teal: #00f5e9;
    --teal-muted: rgba(0, 245, 233, 0.12);
    --teal-glow: rgba(0, 245, 233, 0.35);
    --coral: #ff5a3c;
    --coral-muted: rgba(255, 90, 60, 0.12);
    --amber: #ffb84d;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-sans: 'Inter', system-ui, sans-serif;
}

body.light-mode {
    --bg-base: #f4f6fa;
    --bg-surface: rgba(255, 255, 255, 0.85);
    --bg-surface-solid: #ffffff;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(0, 139, 135, 0.25);
    --teal: #008985;
    --teal-muted: rgba(0, 137, 133, 0.08);
    --teal-glow: rgba(0, 137, 133, 0.2);
    --coral: #d93c23;
    --coral-muted: rgba(217, 60, 35, 0.08);
    --amber: #d97706;
    --text-primary: #0f172a;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.01);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
}

body,
header,
section,
footer,
div,
h1,
h2,
h3,
p,
span,
a,
li {
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

a {
    color: inherit;
}

.ambient-glow-1,
.ambient-glow-2,
.ambient-glow-3 {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.ambient-glow-1 {
    top: -10%;
    left: 10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 245, 233, 0.08) 0%, rgba(6, 9, 15, 0) 70%);
}

.ambient-glow-2 {
    top: 40%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(255, 90, 60, 0.06) 0%, rgba(6, 9, 15, 0) 70%);
}

.ambient-glow-3 {
    bottom: 8%;
    left: -12%;
    width: 42vw;
    height: 42vw;
    background: radial-gradient(circle, rgba(0, 245, 233, 0.045) 0%, rgba(6, 9, 15, 0) 70%);
}

body.light-mode .ambient-glow-1 {
    background: radial-gradient(circle, rgba(0, 137, 133, 0.04) 0%, rgba(244, 246, 250, 0) 70%);
}

body.light-mode .ambient-glow-2 {
    background: radial-gradient(circle, rgba(217, 60, 35, 0.03) 0%, rgba(244, 246, 250, 0) 70%);
}

body.light-mode .ambient-glow-3 {
    background: radial-gradient(circle, rgba(0, 137, 133, 0.025) 0%, rgba(244, 246, 250, 0) 70%);
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.btn-back:hover {
    border-color: var(--border-hover);
    color: var(--teal);
}

.hero {
    max-width: 820px;
    margin-bottom: 32px;
}

.eyebrow {
    display: inline-block;
    color: var(--coral);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 18px;
}

.hero p {
    max-width: 720px;
    color: var(--text-secondary);
    font-size: 16px;
}

.doc-card {
    position: relative;
    overflow: hidden;
    max-width: 920px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 5vw, 44px);
    box-shadow: var(--shadow-premium), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
}

.doc-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--coral));
}

.notice {
    border: 1px solid rgba(255, 184, 77, 0.22);
    background: rgba(255, 184, 77, 0.04);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 28px;
    font-size: 13px;
}

.section {
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
}

.section:first-of-type {
    border-top: none;
    padding-top: 0;
}

h2 {
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
}

h3 {
    color: var(--text-primary);
    font-size: 15px;
    margin: 18px 0 8px;
}

p,
li {
    color: var(--text-secondary);
    font-size: 14px;
}

ul {
    display: grid;
    gap: 8px;
    padding-left: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.info-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

body.light-mode .info-box {
    background: rgba(15, 23, 42, 0.01);
}

.info-box strong {
    display: block;
    color: var(--text-primary);
    font-size: 13px;
    margin-bottom: 6px;
}

.cta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--teal), #00cbd6 60%, var(--coral));
    color: #06090f;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 245, 233, 0.2);
}

body.light-mode .btn-primary {
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 137, 133, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.meta {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .page-shell {
        width: calc(100% - 32px);
        padding: 16px 0 40px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}
