
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #f3f5f7;
    --surface: #ffffff;
    --ink: #17232d;
    --muted: #84909b;
    --line: #e7ebef;
    --sidebar: #111b24;
    --sidebar-muted: #8996a2;
    --accent: #56cbb5;
    --accent-dark: #153e3b;
    --radius: 13px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.app {
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    width: 252px;
    padding: 29px 18px 20px;
    background: var(--sidebar);
    color: #fff;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 7px;
    margin-bottom: 55px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 11px;
    color: #12211f;
    background: var(--accent);
}

.brand-mark svg {
    width: 28px;
    height: 28px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brand-copy strong {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
    white-space: nowrap;
}

.brand-copy strong span {
    color: var(--accent);
}

.brand-copy small {
    color: #82919c;
    font-size: 9px;
    letter-spacing: 2px;
}

.sidebar-label {
    padding: 0 10px;
    margin-bottom: 13px;
    color: #72808c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.navigation {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 47px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--sidebar-muted);
    font-size: 12px;
    font-weight: 600;
    transition: background .18s, color .18s;
}

.nav-link:hover {
    color: #fff;
    background: #1b2934;
}

.nav-link.active {
    border-color: #293b45;
    background: #20332f;
    color: #fff;
}

.nav-icon {
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}

.nav-icon svg,
.card-symbol svg,
.bottom-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-link.active .nav-icon {
    color: var(--accent);
}

.nav-indicator {
    position: absolute;
    right: -1px;
    width: 3px;
    height: 22px;
    border-radius: 4px 0 0 4px;
    background: var(--accent);
}

.nav-arrow {
    margin-left: auto;
    color: #74858e;
    font-size: 14px;
}

.sidebar-bottom {
    margin-top: auto;
}

.sidebar-status {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px 11px;
    border: 1px solid #293640;
    border-radius: 9px;
    background: #17232d;
}

.status-dot,
.local-badge span,
.footer-status {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgb(86 203 181 / 10%);
}

.sidebar-status div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-status strong {
    font-size: 11px;
    font-weight: 700;
}

.sidebar-status small {
    color: #8996a2;
    font-size: 10px;
}

.sidebar-version {
    padding: 19px 9px 0;
    color: #65737e;
    font-size: 9px;
    letter-spacing: 1px;
}

.sidebar-version span {
    color: var(--accent);
}

.main {
    min-height: 100vh;
    margin-left: 252px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 69px;
    padding: 0 42px;
    border-bottom: 1px solid var(--line);
    background: rgb(255 255 255 / 94%);
    backdrop-filter: blur(12px);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #89949e;
    font-size: 11px;
}

.breadcrumb-separator {
    color: #c3cbd1;
}

.breadcrumb strong {
    color: #293640;
    font-weight: 700;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 17px;
}

.local-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 11px;
    border: 1px solid #e4e9ed;
    border-radius: 6px;
    color: #6f7d87;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.local-badge span {
    width: 6px;
    height: 6px;
    flex-basis: 6px;
}

.user-mark {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border: 1px solid #dce5e7;
    border-radius: 9px;
    background: #eaf5f2;
    color: #285d54;
    font-size: 10px;
    font-weight: 800;
}

.content {
    width: 100%;
    max-width: 1500px;
    padding: 35px 42px 20px;
    margin: 0 auto;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 300px;
    overflow: hidden;
    padding: 37px 39px;
    border: 1px solid #243a43;
    border-radius: var(--radius);
    background: #172630;
    color: #fff;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: 62%;
    max-width: 620px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #7f929d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.hero .eyebrow {
    color: #a2b3ba;
}

.hero .eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--accent);
}

.hero h1 {
    margin: 22px 0 13px;
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--accent);
}

.hero-copy > p {
    max-width: 460px;
    margin: 0;
    color: #a9b6be;
    font-size: 12px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 21px;
    min-height: 41px;
    padding: 0 15px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    transition: transform .18s, background .18s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    color: #112620;
}

.button-primary:hover {
    background: #75ddca;
}

.button-primary span,
.button-secondary span {
    font-size: 15px;
}

.button-secondary {
    border-color: #40515a;
    color: #e1e8eb;
    background: rgb(255 255 255 / 2%);
}

.button-secondary:hover {
    background: rgb(255 255 255 / 7%);
}

.hero-art {
    position: absolute;
    inset: 0 0 0 auto;
    width: 43%;
    min-width: 300px;
    overflow: hidden;
    background: radial-gradient(ellipse at 53% 48%, #26423f 0%, #1a3036 42%, transparent 72%);
}

.art-grid {
    position: absolute;
    inset: 0;
    opacity: .19;
    background-image:
        linear-gradient(rgb(135 198 186 / 20%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(135 198 186 / 20%) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to left, #000, transparent);
}

.steel-drawing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 400px;
    transform: translate(-50%, -47%);
    filter: drop-shadow(0 0 8px rgb(86 203 181 / 10%));
}

.art-caption {
    position: absolute;
    right: 22px;
    bottom: 17px;
    left: 22px;
    display: flex;
    justify-content: space-between;
    color: #7faaa4;
    font-size: 8px;
    letter-spacing: 1.2px;
}

.art-coordinate {
    position: absolute;
    top: 19px;
    right: 22px;
    color: #7faaa4;
    font-size: 8px;
    line-height: 1.8;
    letter-spacing: 1px;
    text-align: right;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 36px 0 17px;
    scroll-margin-top: 90px;
}

.section-heading h2 {
    margin: 8px 0 0;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.7px;
}

.section-count {
    color: #243a42;
    font-size: 19px;
    font-weight: 800;
}

.section-count span {
    margin-left: 5px;
    color: #9aa4ac;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.section-card {
    display: flex;
    flex-direction: column;
    min-height: 222px;
    padding: 20px 19px 17px;
    border: 1px solid #e7ebef;
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.section-card:hover {
    transform: translateY(-3px);
    border-color: #cde9e2;
    box-shadow: 0 10px 28px rgb(24 45 55 / 5%);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-number {
    color: #9aa6ae;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.card-symbol {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid #d8eee8;
    border-radius: 10px;
    background: #eff8f5;
    color: #368b7b;
}

.section-card h3 {
    margin: 19px 0 8px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.25px;
}

.section-card p {
    margin: 0 0 17px;
    color: #85919a;
    font-size: 11px;
    line-height: 1.8;
}

.card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid #edf0f2;
    color: #347f72;
    font-size: 10px;
    font-weight: 800;
}

.card-link span {
    font-size: 15px;
    transition: transform .18s;
}

.card-link:hover span {
    transform: translate(2px, -2px);
}

.bottom-panel {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 19px 21px;
    border: 1px solid #e5eaed;
    border-radius: var(--radius);
    background: #fafcfc;
}

.bottom-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 10px;
    background: #eaf5f2;
    color: #347f72;
}

.bottom-icon svg {
    width: 23px;
    height: 23px;
}

.bottom-copy {
    min-width: 0;
}

.bottom-copy h3 {
    margin: 0 0 5px;
    font-size: 12px;
    font-weight: 800;
}

.bottom-copy p {
    margin: 0;
    color: #8a959d;
    font-size: 10px;
    line-height: 1.7;
}

.bottom-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    white-space: nowrap;
    color: #347f72;
    font-size: 10px;
    font-weight: 800;
}

.bottom-link span {
    font-size: 16px;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 23px 1px 5px;
    color: #98a2aa;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.footer-dot {
    padding: 0 5px;
    color: #55bca8;
}

.footer-status {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 6px;
    vertical-align: 1px;
}

@media (min-width: 1600px) {
    .content {
        padding-top: 45px;
    }

    .hero {
        min-height: 330px;
    }

    .section-card {
        min-height: 235px;
        padding: 23px;
    }
}

@media (max-width: 1150px) {
    .sidebar {
        width: 220px;
    }

    .main {
        margin-left: 220px;
    }

    .content {
        padding-right: 25px;
        padding-left: 25px;
    }

    .topbar {
        padding-right: 25px;
        padding-left: 25px;
    }

    .hero {
        padding: 30px;
    }

    .hero-copy {
        width: 68%;
    }

    .hero-art {
        right: -45px;
        width: 42%;
        min-width: 260px;
    }

    .section-grid {
        gap: 10px;
    }

    .section-card {
        padding-right: 14px;
        padding-left: 14px;
    }
}

@media (max-width: 900px) {
    .sidebar {
        width: 72px;
        align-items: center;
        padding: 22px 9px 15px;
    }

    .brand {
        justify-content: center;
        padding: 0;
        margin-bottom: 42px;
    }

    .brand-mark {
        width: 43px;
        flex-basis: 43px;
    }

    .brand-copy,
    .sidebar-label,
    .nav-link:not(.active) .nav-arrow,
    .nav-link,
    .sidebar-status div,
    .sidebar-version {
        font-size: 0;
    }

    .brand-copy {
        display: none;
    }

    .navigation {
        width: 100%;
    }

    .nav-link {
        justify-content: center;
        gap: 0;
        min-height: 47px;
        padding: 0;
    }

    .nav-link .nav-icon {
        width: 22px;
        height: 22px;
    }

    .nav-link .nav-arrow {
        display: none;
    }

    .nav-link.active .nav-indicator {
        right: -9px;
    }

    .sidebar-status {
        justify-content: center;
        padding: 13px 10px;
    }

    .main {
        margin-left: 72px;
    }

    .section-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-card:last-child {
        grid-column: 1 / -1;
        min-height: 190px;
    }
}

@media (max-width: 600px) {
    .topbar {
        height: 58px;
        padding: 0 15px;
    }

    .breadcrumb {
        gap: 7px;
        font-size: 10px;
    }

    .topbar-right {
        gap: 9px;
    }

    .local-badge {
        gap: 7px;
        padding: 7px;
        font-size: 8px;
    }

    .user-mark {
        display: none;
    }

    .content {
        padding: 17px 13px 15px;
    }

    .hero {
        min-height: 365px;
        align-items: flex-start;
        padding: 26px 21px;
    }

    .hero-copy {
        width: 100%;
    }

    .hero h1 {
        font-size: 29px;
        letter-spacing: -1px;
    }

    .hero-copy > p {
        max-width: 360px;
        font-size: 11px;
    }

    .hero-art {
        top: auto;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 130px;
        min-width: 0;
        opacity: .7;
    }

    .steel-drawing {
        top: 52%;
        width: 220px;
    }

    .art-coordinate {
        display: none;
    }

    .art-caption {
        right: 12px;
        bottom: 9px;
        left: 12px;
        font-size: 7px;
    }

    .section-heading {
        margin-top: 27px;
    }

    .section-heading h2 {
        font-size: 19px;
    }

    .section-count {
        font-size: 15px;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .section-card,
    .section-card:last-child {
        grid-column: auto;
        min-height: 205px;
        padding: 19px;
    }

    .bottom-panel {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 16px;
    }

    .bottom-copy {
        flex: 1;
    }

    .bottom-link {
        width: 100%;
        justify-content: space-between;
        padding-top: 12px;
        border-top: 1px solid #e8eeef;
    }

    .footer {
        flex-direction: column;
        gap: 9px;
        font-size: 8px;
    }
}
