
.langsw { position: relative; display: inline-flex; align-items: center; }
.langsw-trigger {
display: inline-flex; align-items: center; gap: 6px;
padding: 6px 12px; border: 1.5px solid #eee; border-radius: 50px;
background: #fff; color: #333; font-family: var(--body);
font-size: 14px; font-weight: 500; cursor: pointer; line-height: 1;
transition: border-color .2s, background .2s; white-space: nowrap;
}
.langsw-trigger:hover { border-color: #FF8A3D; background: #FFF8F0; }
.langsw-trigger .fi { width: 18px; height: 13px; border-radius: 2px; flex-shrink: 0; }
.langsw-code { font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.langsw-chevron { width: 10px; height: 10px; flex-shrink: 0; transition: transform .2s; color: #999; }
.langsw.open .langsw-chevron { transform: rotate(180deg); }
.langsw-panel {
display: none; position: absolute; top: calc(100% + 8px); right: 0;
background: #fff; border: 1px solid #eee; border-radius: 14px;
box-shadow: 0 8px 28px rgba(0,0,0,.10); min-width: 170px;
z-index: 2000; padding: 6px; max-height: 340px; overflow-y: auto;
}
.langsw.open .langsw-panel { display: block; }
.langsw-item {
display: flex; align-items: center; gap: 9px; padding: 8px 10px;
border-radius: 8px; font-size: 14px; color: #333;
text-decoration: none; transition: background .15s; white-space: nowrap;
}
.langsw-item:hover { background: #FFF8F0; }
.langsw-item-active { background: #FFF8F0; font-weight: 600; color: #FF8A3D; }
.langsw-item .fi { width: 20px; height: 15px; border-radius: 2px; flex-shrink: 0; }
@media (max-width: 900px) {
.langsw-panel { right: auto; left: 0; }
}

:root {
    --ink: #1B1A2E;
    --ink-2: #4A4860;
    --ink-3: #6E6C82;
    --line: #E8E4DC;
    --paper: #FFFFFF;
    --cream: #FFF7EF;
    --orange: #FF8A3D;
    --orange-deep: #B8420A;
    --orange-soft: #FFE6D3;
    --lilac: #EEEBFF;
    --mint: #DDF5EA;
    --wrap: 1200px;
    --head: 'Bricolage Grotesque', system-ui, sans-serif;
    --body: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-deep); margin: 0 0 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 700; font-size: 17px; text-decoration: none; border-radius: 14px; padding: 16px 26px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; min-height: 48px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--ink); box-shadow: 0 6px 0 -1px var(--ink); border-color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 2px; }


.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: 16px; }
[dir="rtl"] .nav-links { margin-left: 0; margin-right: auto; }
.nav-links > a { text-decoration: none; color: var(--ink-2); }
.nav-links > a:hover { color: var(--ink); }
.nav-links .btn { padding: 11px 18px; font-size: 15px; min-height: 44px; color: var(--ink); }
.nav-links .langsw-trigger { font-family: var(--body); }
.nav-links a.langsw-item { color: var(--ink); font-size: 14px; }
.nav-links a.langsw-item-active { color: var(--orange-deep); font-weight: 700; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
[dir="rtl"] .menu-btn { margin-left: 0; margin-right: auto; }


.st-hero { padding: 64px 0 24px; }
.st-hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; }
.st-hero p.sub { margin: 14px 0 0; font-size: 19px; color: var(--ink-2); max-width: 620px; }
.st-card { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; padding: 26px 30px; border: 2px solid var(--ink); border-radius: 26px; background: var(--mint); box-shadow: 0 6px 0 -1px var(--ink); }
.st-card.minor { background: #FFF1D6; }
.st-card.major { background: #FFE1DC; }
.st-dot { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #1F9D55; }
.st-dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 3px solid #1F9D55; opacity: .35; animation: pulse 2s ease-out infinite; }
.minor .st-dot { background: #D98A00; } .minor .st-dot::after { border-color: #D98A00; }
.major .st-dot { background: #C0392B; } .major .st-dot::after { border-color: #C0392B; }
@keyframes pulse { from { transform: scale(.6); opacity: .6; } to { transform: scale(1.3); opacity: 0; } }
.st-main { flex: 1; min-width: 220px; }
.st-main b { display: block; font-family: var(--head); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.st-main span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 15.5px; }
.st-last { font-size: 14.5px; color: var(--ink-2); }
.st-last strong { display: block; color: var(--ink); font-size: 15.5px; }


.month { margin-top: 40px; }
.month h2 { font-size: 22px; font-weight: 800; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.items { list-style: none; margin: 0; padding: 0; }
.it { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.it time { font-size: 14.5px; color: var(--ink-3); padding-top: 3px; }
.it time b { display: block; color: var(--ink); font-size: 15.5px; }
.tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.tag i { font-size: 11.5px; }
.tag.new { background: var(--orange-soft); color: var(--orange-deep); }
.tag.improve { background: var(--mint); color: #17643A; }
.tag.model { background: var(--lilac); color: #4B3BA8; }
.tag.fix { background: #E3F0FF; color: #1D5BA8; }
.tag.maint { background: #F1EEE8; color: var(--ink-2); }
.tag.incident { background: #FFE1DC; color: #A1281C; }
.it p { margin: 0; color: var(--ink); font-size: 16.5px; }
.it p b { font-weight: 700; }
.it p[dir="ltr"] { text-align: left; }
.more { display: flex; justify-content: center; margin-top: 32px; }
.more button { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; box-shadow: 0 4px 0 -1px var(--ink); }
.empty { padding: 32px 0; color: var(--ink-3); }
[hidden] { display: none !important; }


.footer { border-top: 1px solid var(--line); margin-top: 96px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; padding: 32px 24px; font-size: 14px; color: var(--ink-3); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-inner nav a { color: var(--ink-2); text-decoration: none; }
.footer-inner nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.footer-langs a { color: var(--ink-3); text-decoration: none; font-weight: 500; text-transform: uppercase; }
.footer-langs a:hover { color: var(--ink); }

@media (max-width: 820px) {
    .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 24px 20px; }
    .nav-links.open { display: flex; }
    .nav-links > a { padding: 12px 0; }
    .nav-links .langsw-panel { position: static; box-shadow: none; margin-top: 8px; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .st-hero { padding: 40px 0 8px; }
    .st-hero p.sub { font-size: 17px; }
    .st-card { padding: 20px; border-radius: 22px; }
    .st-main b { font-size: 21px; }
    .it { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
    .it time b { display: inline; margin-inline-end: 6px; }
}
@media (prefers-reduced-motion: reduce) { .st-dot::after { animation: none; } .btn:hover { transform: none; } }


.st-hero { padding: 40px 0 12px; }
.st-hero h1 { font-size: clamp(28px, 3vw, 38px); }
.st-hero p.sub { margin-top: 8px; font-size: 16px; }
.st-card { margin-top: 22px; padding: 14px 20px; gap: 10px 20px; border-radius: 18px; }
.st-dot { width: 14px; height: 14px; }
.st-dot::after { inset: -5px; border-width: 2px; }
.st-main b { font-size: 18px; }
.st-last, .st-last strong { font-size: 13.5px; }
.month:first-child { margin-top: 28px; }
@media (max-width: 640px) {
    .st-hero { padding: 28px 0 6px; }
    .st-hero p.sub { font-size: 15px; }
    .st-card { padding: 12px 16px; border-radius: 16px; }
    .st-main b { font-size: 17px; }
}
