:root {
    --bg: #0d0d0c;
    --panel: #171716;
    --line: #35312c;
    --ink: #f6f2eb;
    --muted: #aaa39b;
    --orange: #ff8e07;
    --soft: #27221d;
    font-family: Inter, system-ui, sans-serif;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: radial-gradient(circle at 15% 0, #39200b, transparent 32%), var(--bg);
    color: var(--ink);
}
a {
    color: inherit;
}
.page {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
    padding: 25px 0 60px;
}
.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.top .nav {
    flex-shrink: 0;
}
@media (max-width: 780px) {
    .top .brand .brand-name {
        white-space: normal !important;
    }
}
.brand img {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    object-fit: cover;
    box-shadow: 0 0 22px #ff8e0738;
    border: 1px solid #35312c !important;
    box-sizing: border-box !important;
}
.nav {
    display: flex;
    gap: 22px;
    align-items: center;
}
.nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
}
.language-control {
    position: relative;
}
.lang-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #181818;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 12px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
}
.lang-trigger svg {
    width: 16px;
    height: 16px;
    stroke: var(--orange);
}
.lang-trigger .chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}
.language-control.open .chevron {
    transform: rotate(180deg);
}
.lang-menu {
    position: absolute;
    z-index: 5;
    right: 0;
    top: calc(100% + 9px);
    min-width: 150px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #181818;
    box-shadow: 0 18px 45px #0009;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: 0.2s;
}
.language-control.open .lang-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.lang-option {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 10px;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    font: inherit;
}
.lang-option:hover,
.lang-option.active {
    background: #2a241d;
    color: var(--ink);
}
.lang-icon {
    width: 22px;
}
.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 20px;
    padding: 90px 0 20px;
}
.hero-main,
.hero-side,
.tile,
.product {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--panel);
}
.hero-main {
    padding: 32px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, #25170c, #171716 60%);
}
.eyebrow {
    color: var(--orange);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
}
.hero h1 {
    font-size: clamp(52px, 8vw, 106px);
    line-height: 0.86;
    letter-spacing: -0.1em;
    white-space: pre-line;
    margin: 17px 0;
}
.hero p {
    color: #d2ccc5;
    line-height: 1.5;
    font-size: 19px;
    max-width: 520px;
}
.hero-side {
    min-height: 480px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, #ff8e07, #7e3500 48%, #171716 49%);
    color: #20140a;
}
.hero-side strong {
    font-size: clamp(110px, 15vw, 190px);
    line-height: 0.7;
    letter-spacing: -0.15em;
}
.hero-side span {
    font-weight: 800;
    max-width: 220px;
}
.bento {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}
.tile {
    padding: 25px;
    min-height: 235px;
}
.tile h2 {
    font-size: 28px;
    letter-spacing: -0.07em;
    margin: 52px 0 12px;
}
.tile p {
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}
.wide {
    grid-column: span 2;
    background: var(--soft);
}
.wide h2 {
    font-size: 42px;
}
.section-head {
    margin-top: 70px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
}
.section-head h2 {
    font-size: 44px;
    letter-spacing: -0.08em;
    margin: 8px 0 0;
}
.section-head p {
    color: var(--muted);
    max-width: 320px;
    margin: 0;
}
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}
.product {
    padding: 24px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s;
}
.product h3 {
    font-size: 24px;
    letter-spacing: -0.06em;
    margin: 38px 0 10px;
}
.product p {
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}
.product a {
    margin-top: auto;
    padding-top: 25px;
    color: var(--orange);
    text-decoration: none;
}
.status {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}
.social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 13px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}
.social a:hover {
    border-color: var(--orange);
    transform: translateY(-2px);
}
.social svg {
    width: 16px;
    height: 16px;
    stroke: var(--orange);
    fill: none;
    stroke-width: 1.8;
}
.foot {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    margin-top: 70px;
    padding-top: 18px;
    color: var(--muted);
    font-size: 14px;
}
.foot a {
    color: var(--orange);
}
@media (max-width: 780px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 58px;
    }
    .bento,
    .cards {
        grid-template-columns: 1fr;
    }
    .wide {
        grid-column: auto;
    }
    .section-head {
        display: block;
    }
    .section-head p {
        margin-top: 10px;
    }
    .nav a {
        display: none;
    }
    .foot {
        display: block;
    }
    .foot > * {
        display: block;
        margin: 9px 0;
    }
}
.hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr) !important;
    align-items: stretch;
}
.hero-note {
    min-height: 480px;
    padding: 32px;
    border: 1px solid #ffb34a;
    border-radius: 28px;
    background: var(--orange);
    color: #20140a;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero-note .eyebrow {
    color: #20140a;
}
.hero-note strong {
    display: block;
    font-size: clamp(34px, 4vw, 68px);
    line-height: 0.92;
    letter-spacing: -0.075em;
}
.hero-note p {
    max-width: 290px;
    margin: 0;
    color: #20140a;
    font-size: 18px;
    line-height: 1.35;
}
@media (max-width: 780px) {
    .hero {
        grid-template-columns: 1fr !important;
    }
    .hero-note {
        min-height: 300px;
    }
}
/* Responsive fixes: long ru/es words, CJK line height, narrow screens */
.hero h1 {
    overflow-wrap: break-word;
}
html[lang="ru"] .hero h1,
html[lang="es"] .hero h1 {
    font-size: clamp(34px, 6.6vw, 88px);
}
html[lang="zh-CN"] .hero h1 {
    line-height: 1.02;
    letter-spacing: -0.04em;
}
@media (min-width: 781px) and (max-width: 1024px) {
    html body .top .brand .brand-name {
        font-size: 30px !important;
    }
    .nav {
        gap: 16px;
    }
}
@media (max-width: 780px) {
    .hero,
    .bento,
    .cards {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .tile,
    .product,
    .section-head {
        overflow-wrap: break-word;
    }
    html[lang="ru"] .hero h1,
    html[lang="es"] .hero h1 {
        font-size: clamp(30px, 10.5vw, 52px);
    }
}
@media (max-width: 430px) {
    html body .top .brand .brand-name {
        font-size: 22px !important;
    }
    html body .top .brand img {
        width: 64px !important;
        height: 64px !important;
    }
}
@media (max-width: 360px) {
    html body .top .brand .brand-name {
        font-size: 19px !important;
    }
    html body .top .brand img {
        width: 52px !important;
        height: 52px !important;
    }
}
