:root {
    --color-primary: #d35400;
    --color-secondary: #e67e22;
    --color-accent: #c0392b;
    --color-bg: #fef5e7;
    --color-text: #3b2416;
    --color-text-light: #6b4a32;
    --color-border: #e8c9a8;
    --csh-page-w: 1120px;
    --csh-header-h: 72px;
    --space-lg: 28px;
    --font-head: "Albert Sans", sans-serif;
    --font-body: "Source Serif Pro", "Source Serif 4", Georgia, serif;
}

@media (max-width: 768px) {
    :root { --csh-header-h: 64px; }
}

[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }

html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
}

html { scroll-padding-top: var(--csh-header-h); }

body {
    padding-top: var(--csh-header-h);
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.65;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.07;
    background-image: repeating-linear-gradient(135deg, #d35400 0 2px, transparent 2px 10px);
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, .csh-app__name {
    font-family: var(--font-head);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

a { color: var(--color-primary); }
a:not(.csh-btn):hover { color: var(--color-accent); }

.csh-container {
    max-width: var(--csh-page-w);
    margin: 0 auto;
    padding: 0 20px;
}

.csh-measure .csh-prose {
    max-width: 760px;
}

.csh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.csh-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    min-height: var(--csh-header-h);
    background: #fef5e7;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--color-primary);
}

.csh-header a,
.csh-header a:visited { color: #3b2416; }

.csh-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--csh-header-h);
    gap: 16px;
}

.csh-header__logo img {
    width: 180px;
    height: auto;
    display: block;
}

.csh-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
}

.csh-nav a:not(.csh-btn) {
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.92rem;
}

.csh-nav a.is-active { color: var(--color-accent); }

.csh-burger,
.csh-overlay,
.csh-drawer { display: none; }

.csh-burger {
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.csh-burger span {
    display: block;
    height: 2px;
    margin: 6px 8px;
    background: var(--color-primary);
}

.csh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    background: var(--color-secondary);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    cursor: pointer;
    border-radius: 0;
    box-shadow: 0 4px 0 #8e2f0d;
}

.csh-btn:not([hidden]):hover { filter: brightness(1.05); }

.csh-btn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 #8e2f0d;
}

.csh-btn--primary {
    background: var(--color-primary);
    color: #fff;
}

.csh-hero {
    background: linear-gradient(120deg, #fde8c8 0%, #f6b26b 55%, #d35400 140%);
    padding: 56px 0 64px;
}

.csh-hero__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.csh-hero__copy h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

.csh-kicker {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    color: var(--color-accent);
    margin: 0 0 8px;
}

.csh-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.csh-hero__art img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 4px solid #3b2416;
    background: #fff;
}

.csh-section { padding: 56px 0; }

.csh-prose h1 { font-size: 2rem; }
.csh-prose h2 { font-size: 1.4rem; }
.csh-lead { font-size: 1.15rem; max-width: 760px; }

.csh-app {
    padding: 56px 0;
    background: #fff8ee;
}

.csh-app__badges {
    font-family: var(--font-head);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
}

.csh-app__head {
    display: flex;
    gap: 16px;
    align-items: center;
}

.csh-app__icon {
    width: 96px;
    height: 96px;
    border-radius: 22%;
    object-fit: contain;
    flex-shrink: 0;
}

.csh-app__name { font-size: 1.5rem; margin: 0; }
.csh-app__dev { margin: 6px 0 0; color: var(--color-text-light); }

.csh-app__facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    padding: 0;
    list-style: none;
}

.csh-app__facts li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}

.csh-app__note, .csh-app__checked { color: var(--color-text-light); }

.csh-tile {
    padding: 22px;
    border: 1px solid rgba(211, 84, 0, 0.25);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    border-radius: 0;
}

.csh-tile h3 { margin-top: 0; }

[data-csh-kind="glass"] {
    box-shadow: 0 8px 28px rgba(59, 36, 22, 0.08);
}

.csh-faq__q {
    width: 100%;
    text-align: left;
    min-height: 48px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--color-border);
    background: transparent;
    font-family: var(--font-head);
    font-size: 1.05rem;
    cursor: pointer;
    color: var(--color-text);
}

.csh-faq__a { padding: 8px 0 18px; }

.csh-note {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.csh-note:hover { transform: scale(1.03); }

.csh-note__band { height: 72px; }
[data-csh-band="1"] { background: linear-gradient(90deg, #d35400, #f39c12); }
[data-csh-band="2"] { background: linear-gradient(90deg, #c0392b, #e67e22); }
[data-csh-band="3"] { background: linear-gradient(90deg, #e67e22, #d35400); }

.csh-note h2, .csh-note h3 { padding: 0 16px; }
.csh-note p { padding: 0 16px 16px; color: var(--color-text-light); }

.csh-cta {
    padding: 64px 0;
    background: #3b2416;
    color: #fef5e7;
}

.csh-cta h2 { color: #fff; }
.csh-cta a.csh-btn { color: #fff; }

.csh-footer {
    background: #2b180f;
    color: #f3e0cc;
    padding: 40px 0 28px;
}

.csh-footer a { color: #ffd7a8; }
.csh-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 24px;
}

.csh-footer__label {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

.csh-footer ul { list-style: none; padding: 0; }
.csh-footer li { margin: 8px 0; }

.csh-footer__link {
    background: none;
    border: 0;
    padding: 0;
    color: #ffd7a8;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.csh-cookie { display: none; }

.csh-cookie:not([hidden]) {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 110;
    gap: 12px;
    bottom: 16px;
    right: 16px;
    max-width: 360px;
    padding: 18px;
    background: #fff;
    border: 3px solid var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.csh-form label { display: block; margin: 12px 0 4px; font-family: var(--font-head); }
.csh-form input, .csh-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-border);
    background: #fff;
    font: inherit;
    border-radius: 0;
}

.csh-split-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
}

.csh-log { padding-left: 18px; }
.csh-crumbs { font-size: 0.9rem; color: var(--color-text-light); }

@media (max-width: 1100px) {
    .csh-nav { display: none; }
    .csh-burger { display: block; }

    .csh-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 200;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, visibility .25s;
    }

    .csh-drawer {
        display: block;
        position: fixed;
        z-index: 210;
        background: #fef5e7;
        overflow-y: auto;
        visibility: hidden;
        transition: transform .3s ease, opacity .3s ease, visibility .3s;
    }

    .csh-drawer a { display: block; padding: 14px 20px; font-family: var(--font-head); }

    .csh-drawer__close {
        position: absolute;
        top: 12px;
        right: 16px;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        font-size: 2rem;
        cursor: pointer;
    }

    body.nav-open { overflow: hidden; }
    body.nav-open .csh-overlay { opacity: 1; visibility: visible; }
    body.nav-open .csh-drawer { visibility: visible; }

    .csh-drawer--sheet {
        inset: 0;
        height: 100vh;
        height: 100dvh;
        padding: 72px 24px 32px;
        opacity: 0;
    }
    .csh-drawer--sheet a { font-size: 1.4rem; }
    body.nav-open .csh-drawer--sheet { opacity: 1; }
    body.nav-open .csh-overlay { display: none; }
}

@media (max-width: 768px) {
    .csh-header__logo img { width: 120px; }
    .csh-hero__split,
    .csh-split-form,
    .csh-footer__grid,
    .csh-app__facts { grid-template-columns: 1fr; }
    .csh-grid { grid-template-columns: repeat(2, 1fr); }
    .csh-app__icon { width: 64px; height: 64px; }
    .csh-cookie:not([hidden]) {
        left: 12px;
        right: 12px;
        max-width: none;
    }
    .csh-cookie__actions .csh-btn { min-height: 44px; width: 100%; }
}

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