:root {
    --color-primary: #00bcd4;
    --color-secondary: #00acc1;
    --color-accent: #ff5722;
    --color-bg: #e0f7fa;
    --color-ink: #12343a;
    --color-muted: #3d656c;
    --color-paper: #f7feff;
    --color-deep: #006064;
    --space-xs: 0.4rem;
    --space-sm: 0.75rem;
    --space-md: 1.25rem;
    --space-lg: 2rem;
    --space-xl: 3.5rem;
    --radius: 12px;
    --font-head: "Rubik", sans-serif;
    --font-body: "Mulish", sans-serif;
    --shadow: 0 12px 32px rgba(0, 96, 100, 0.12);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--color-ink);
    background-color: var(--color-bg);
    background-image:
        radial-gradient(ellipse at 10% 0%, rgba(0, 188, 212, 0.18), transparent 46%),
        radial-gradient(ellipse at 90% 20%, rgba(255, 87, 34, 0.08), transparent 40%);
    line-height: 1.65;
    padding-top: 72px;
}

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

a {
    color: var(--color-deep);
}

a:hover {
    color: var(--color-accent);
}

h1, h2, h3 {
    font-family: var(--font-head);
    line-height: 1.2;
    color: var(--color-deep);
}

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

.ch-measure {
    max-width: 760px;
}

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

.ch-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    background: #e0f7fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ch-header-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 72px;
    gap: var(--space-sm);
}

.ch-logo {
    justify-self: start;
}

.ch-logo img {
    width: 168px;
    height: auto;
    display: block;
}

.ch-nav-desk {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    justify-self: center;
}

.ch-nav-desk a,
.ch-nav a {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}

.ch-nav-desk a.is-active,
.ch-nav a.is-active {
    border-bottom-color: var(--color-accent);
    color: var(--color-deep);
}

.ch-nav {
    display: none;
}

.ch-nav-close {
    display: none;
}

.ch-burger {
    display: none;
    width: 40px;
    height: 40px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.ch-burger span {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: var(--color-deep);
    border-radius: 2px;
}

.ch-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 98;
}

.ch-overlay[hidden] {
    display: none;
}

body.nav-open {
    overflow: hidden;
}

.ch-cookie {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 200;
}

.ch-cookie[hidden] {
    display: none;
}

.ch-cookie-panel {
    max-width: 520px;
    margin-left: auto;
    background: #f7feff;
    color: var(--color-ink);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(0, 77, 84, 0.22);
    padding: 1.1rem 1.2rem 1.2rem;
    display: grid;
    gap: 0.85rem;
}

.ch-cookie-panel p {
    margin: 0;
}

.ch-hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0e6b76;
    padding: 2.8rem 0 3.2rem;
}

.ch-hero-fill {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 12% 18%, rgba(255, 87, 34, 0.28), transparent 42%),
        radial-gradient(ellipse at 88% 8%, rgba(224, 247, 250, 0.22), transparent 36%),
        linear-gradient(180deg, #14a3b8 0%, #0e6b76 48%, #083f47 100%);
}

.ch-hero-fill::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: -18%;
    height: 48%;
    background:
        radial-gradient(120% 80% at 10% 100%, rgba(0, 188, 212, 0.55) 0%, transparent 55%),
        radial-gradient(90% 70% at 70% 120%, rgba(0, 150, 167, 0.7) 0%, transparent 50%);
    border-radius: 50% 50% 0 0;
}

.ch-hero-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.4rem;
    align-items: center;
}

.ch-hero-copy {
    color: #e8fbff;
}

.ch-hero-copy .ch-kicker {
    color: #ffccbc;
}

.ch-hero-title {
    color: #fff;
    margin: 0 0 0.8rem;
    font-size: clamp(1.85rem, 3.4vw, 2.85rem);
}

.ch-hero-text {
    margin: 0 0 1.1rem;
    max-width: 38rem;
    color: #d7f4f8;
}

.ch-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.3rem;
}

.ch-hero-chips li {
    background: rgba(247, 254, 255, 0.14);
    border: 1px solid rgba(247, 254, 255, 0.28);
    border-radius: 999px;
    padding: 0.28rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.ch-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ch-btn-ghost {
    background: transparent;
    border-color: rgba(247, 254, 255, 0.7);
    color: #fff;
}

.ch-btn-ghost:hover {
    background: rgba(247, 254, 255, 0.12);
    color: #fff;
}

.ch-hero-stage {
    position: relative;
}

.ch-hero-frame {
    margin: 0;
    background: rgba(8, 63, 71, 0.55);
    border: 1px solid rgba(224, 247, 250, 0.2);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: 0 22px 48px rgba(0, 30, 36, 0.35);
}

.ch-hero-frame img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    background: #083f47;
    border-radius: 8px;
}

.ch-hero-pass {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-top: -28px;
    margin-left: 18px;
    margin-right: 18px;
    position: relative;
    background: #f7feff;
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    box-shadow: var(--shadow);
    color: var(--color-ink);
}

.ch-hero-pass .ch-app-icon {
    width: 72px;
    height: 72px;
}

.ch-hero-pass-name {
    font-family: var(--font-head);
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: var(--color-deep);
}

.ch-hero-pass p {
    margin: 0;
    font-size: 0.9rem;
}

.ch-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 0 0 0.6rem;
}

.ch-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.15rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-secondary);
    background: var(--color-paper);
    color: var(--color-deep);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-head);
}

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

.ch-btn-primary:hover {
    background: var(--color-secondary);
    color: #fff;
}

.ch-btn-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ch-btn:hover .ch-btn-icon {
    transform: scale(1.18);
}

.ch-btn-block {
    width: 100%;
    justify-content: center;
}

.ch-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: chRipple 0.6s linear;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

@keyframes chRipple {
    to {
        transform: scale(12);
        opacity: 0;
    }
}

.ch-split {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: var(--space-xl);
    padding: var(--space-xl) 20px;
}

.ch-aside {
    position: sticky;
    top: 88px;
    align-self: start;
    background: var(--color-paper);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
}

.ch-aside-label {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin: 0 0 0.4rem;
}

.ch-aside-name {
    font-family: var(--font-head);
    font-size: 1.2rem;
    margin: 0 0 0.4rem;
}

.ch-aside-note,
.ch-app-note {
    font-size: 0.95rem;
    color: var(--color-muted);
}

.ch-aside-jump {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.ch-aside-jump a {
    display: block;
    padding: 0.35rem 0;
}

.ch-checked {
    font-weight: 700;
    color: var(--color-deep);
}

.ch-app,
.ch-block {
    background: var(--color-paper);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: var(--space-lg);
    box-shadow: 0 8px 24px rgba(0, 96, 100, 0.08);
}

.ch-app-badges {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--color-secondary);
}

.ch-app-head {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.ch-app-icon {
    width: 96px;
    height: 96px;
    border-radius: 22%;
    object-fit: contain;
    flex-shrink: 0;
    background: var(--color-bg);
}

.ch-app-title {
    margin: 0;
    font-weight: 700;
}

.ch-app-name {
    margin: 0.25rem 0 0;
    font-size: 1.35rem;
}

.ch-app-dev {
    margin: 0.35rem 0 0;
    color: var(--color-muted);
}

.ch-app-facts {
    padding-left: 1.1rem;
}

.ch-app-preview {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    background: var(--color-bg);
    border-radius: var(--radius);
}

.ch-stills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.ch-still {
    margin: 0;
}

.ch-steps {
    margin: 0;
    padding-left: 1.1rem;
}

.ch-notes {
    display: grid;
    gap: 1rem;
}

.ch-note {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--color-bg);
    border-radius: var(--radius);
    overflow: hidden;
}

.ch-note h2,
.ch-note h3 {
    margin: 0.8rem 1rem 0.3rem;
    font-size: 1.15rem;
}

.ch-note p {
    margin: 0 1rem 1rem;
    color: var(--color-muted);
}

.ch-note-band {
    display: block;
    height: 72px;
    background: linear-gradient(120deg, #00bcd4, #00838f);
}

.ch-note-band-alt {
    background: linear-gradient(120deg, #26c6da, #ff5722);
}

.ch-note-band-third {
    background: linear-gradient(120deg, #006064, #00acc1);
}

.ch-cta {
    background: var(--color-deep);
    color: #e0f7fa;
    padding: var(--space-xl) 0;
}

.ch-cta h2 {
    color: #fff;
}

.ch-cta p {
    max-width: 640px;
}

.ch-footer {
    background: #00363a;
    color: #cfe8eb;
    padding: var(--space-xl) 0 var(--space-lg);
}

.ch-footer a {
    color: #fff;
}

.ch-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: var(--space-lg);
}

.ch-footer-mark,
.ch-footer-label {
    font-family: var(--font-head);
    color: #fff;
    margin: 0 0 0.6rem;
}

.ch-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ch-footer li {
    margin: 0.25rem 0;
}

.ch-footer-fine,
.ch-footer-end {
    font-size: 0.88rem;
}

.ch-footer-end {
    margin-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1rem;
}

.ch-page {
    padding: var(--space-xl) 0;
}

.ch-form {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.ch-field {
    display: grid;
    gap: 0.35rem;
    font-weight: 700;
}

.ch-field input,
.ch-field textarea {
    font: inherit;
    font-weight: 400;
    padding: 0.7rem 0.8rem;
    border-radius: var(--radius);
    border: 1px solid #b2ebf2;
    background: #fff;
}

.ch-form-err {
    color: #b71c1c;
}

.ch-form-ok {
    color: var(--color-deep);
}

.ch-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1.4rem 0;
}

.ch-gallery figure {
    margin: 0;
}

.ch-faq-item {
    border-bottom: 1px solid #b2ebf2;
}

.ch-faq-item h2 {
    margin: 0;
    font-size: 1.05rem;
}

.ch-faq-item button {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    font: inherit;
    font-weight: 700;
    color: var(--color-deep);
    padding: 0.9rem 0;
    cursor: pointer;
}

.ch-faq-body {
    padding: 0 0 0.9rem;
}

.ch-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.ch-lede {
    font-size: 1.15rem;
}

.ch-rise {
    animation: chSlide 0.55s ease both;
}

@keyframes chSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 769px) {
    .ch-nav-desk {
        display: flex;
    }

    .ch-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .ch-burger {
        display: block;
        justify-self: end;
        grid-column: 3;
    }

    .ch-nav-desk {
        display: none;
    }

    .ch-header-bar {
        display: flex;
    }

    .ch-nav {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        height: auto;
        width: 80%;
        max-width: 320px;
        background: #e0f7fa;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 120;
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 4.5rem 0 2rem;
        gap: 0;
        pointer-events: auto;
    }

    .ch-nav.is-open {
        transform: translateX(0);
    }

    .ch-nav a {
        display: block;
        width: 100%;
        padding: 16px 20px;
        border-bottom: 0;
    }

    .ch-nav-close {
        display: block;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        border: 0;
        background: none;
        font-size: 2rem;
        cursor: pointer;
        color: var(--color-deep);
    }

    .ch-logo img {
        width: 90px;
    }

    .ch-split {
        grid-template-columns: 1fr;
        padding: var(--space-lg) 20px;
    }

    .ch-aside {
        position: static;
    }

    .ch-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ch-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ch-hero {
        min-height: 0;
        padding: 1.8rem 0 2.4rem;
        align-items: stretch;
    }

    .ch-hero-row {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .ch-app-icon {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 480px) {
    .ch-grid,
    .ch-footer-grid,
    .ch-stills,
    .ch-gallery {
        grid-template-columns: 1fr;
    }

    .ch-app-head {
        align-items: flex-start;
    }
}
