:root {
    --ink: #0b1220;
    --muted: #6b7280;
    --bg: #ffffff;
    --soft: #f8fafc;
    --line: #e6e8ec;
    --card: #ffffff;
    --accent: #f97316;
    --accent-2: #06b6d4;
    --shadow: 0 12px 34px rgba(2, 6, 23, .08);
    --radius: 18px
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    background:
        linear-gradient(180deg, #fff, var(--soft));
    color: var(--ink);
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
    line-height: 1.65
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 14px
}

a {
    color: var(--accent);
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .8);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line)
}

.head-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px
}

.brand {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fed7aa, #f97316);
    color: #4b1d0a;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase
}

.topnav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.topnav a {
    font-size: 14px;
    color: var(--ink);
    opacity: .9
}

.topnav a:hover {
    opacity: 1
}

/* Grid layout */
.grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 24px 20px 0
}

@media (max-width: 1060px) {
    .grid {
        grid-template-columns: 1fr
    }
}

.content {
    display: grid;
    gap: 22px
}

/* Right rail */
.rail {
    position: sticky;
    top: 90px;
    align-self: start;
    height: max-content
}

.rail-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    gap: 8px
}

.rail-title {
    font-weight: 700;
    color: #0b1220;
    border-bottom: 1px solid var(--line);
    padding-bottom: 6px;
    margin-bottom: 2px
}

.rail-card a {
    color: #0b1220;
    opacity: .85
}

.rail-card a:hover {
    opacity: 1;
    color: var(--accent)
}

/* Cards */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
    position: relative;
    overflow: hidden
}

.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2))
}

/* Typography */
h1 {
    margin: 0 0 10px;
    font-size: 34px
}

h2 {
    margin: 0 0 10px;
    font-size: 22px
}

h3 {
    margin: 14px 0 6px;
    font-size: 18px
}

ol,
ul {
    padding-left: 18px;
    margin: 0 0 8px
}

/* Video */
.movie {
    width: 100%;
    aspect-ratio: 16/9;
    border: 0;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-top: 12px
}

/* Footer */
.footer {
    margin-top: 28px;
    border-top: 1px solid var(--line);
    background: #fff
}

.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 0
}

.foot-brand {
    font-weight: 800
}

.links {
    display: flex;
    gap: 14px
}

.map {
    border-top: 1px solid var(--line)
}

.map iframe {
    width: 100%;
    height: 340px;
    border: 0;
    display: block
}

.legal {
    text-align: center;
    color: var(--muted);
    padding: 12px 0;
    font-size: 13px
}

/* Responsive */
@media (max-width: 720px) {
    .head-row {
        height: 64px
    }

    .topnav {
        gap: 10px
    }

    .brand {
        font-size: 14px
    }
}