@font-face {
    font-family: Circe;
    src: url('/fonts/Circe-Regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Circe;
    src: url('/fonts/Circe-Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

:root {
    color-scheme: light;
    --paper: #feffff;
    --ink: #1e3037;
    --muted: #444a56;
    --heading: #356f84;
    --line: #e3ebf0;
    --pale: #edf9fa;
    --accent: #1aafc6;
    --accent-hover: #159fb5;
    --focus: #267cad;
    --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.topo-page { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 system-ui, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; }
button[hidden] { display: none; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
figure, h1, h2, h3, p { margin: 0; }
section[id] { scroll-margin-block-start: 28px; }

.topo-wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.topo-skip { position: absolute; z-index: 3; inset: .5rem auto auto .5rem; transform: translateY(-180%); padding: .5rem 1rem; background: #fff; }
.topo-skip:focus { transform: none; }
.topo-site-header { position: relative; z-index: 1; padding-inline: 15px; }
.topo-site-header .header__logo img { height: auto; }
.topo-site-header .nav__language-toggle { border: 0; background: transparent; cursor: pointer; }
.topo-site-header .nav__languages-list { max-height: min(60vh, 30rem); overflow-y: auto; }
.topo-site-header .nav__languages-list [aria-current="page"] { background: var(--nav-level2-hover); }
.topo-site-header .nav__link_active + .nav__block-dd { visibility: visible; opacity: 1; transform: none; }
.topo-page main { background: linear-gradient(180deg, #f3fbff 0, var(--paper) 40rem); }

.topo-hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 5vw, 72px); padding-block: clamp(30px, 4vw, 64px) clamp(38px, 6vw, 82px); }
.topo-product { color: var(--heading); font-size: .86rem; font-weight: 700; letter-spacing: .045em; }
.topo-hero h1 { margin-block: .2em .22em; max-width: 16ch; font-size: clamp(3rem, 5.05vw, 5.25rem); line-height: .96; letter-spacing: -.058em; text-wrap: balance; }
.topo-hero h1 em { color: var(--heading); font-style: normal; }
.topo-intro { max-width: 37ch; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.32rem); line-height: 1.5; }
.topo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.25rem; margin-top: 1.85rem; }
.topo-button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; width: fit-content; min-height: 48px; padding: .7rem 1.25rem; border-radius: 24px; font-size: 1rem; font-weight: 700; text-decoration: none; }
.topo-button-primary { background: var(--accent); color: #04121f; }
.topo-button-primary:hover { background: var(--accent-hover); }
.topo-button-outline { border: 1px solid var(--line); background: #fff; color: var(--heading); }
.topo-button-outline:hover { border-color: var(--accent); }
.topo-text-link { color: var(--heading); font-weight: 700; }

.topo-hero-scene { --reply-indent: clamp(16px, 3.2vw, 50px); min-width: 0; }
.topo-chat-prompt { width: fit-content; max-width: calc(100% - var(--reply-indent)); margin: 0 0 .85rem; padding: .72rem 1rem; border: 1px solid #cfe7f8; border-radius: 22px 22px 22px 5px; background: #e9f5ff; font-size: clamp(.9rem, 1.4vw, 1.05rem); font-weight: 650; }
.topo-screen, .topo-chat-reply { margin-inline-start: var(--reply-indent); }
.topo-screen { overflow: hidden; border: 1px solid #263b45; border-radius: 16px; background: #263b45; box-shadow: 0 12px 30px #1e303720; }
.topo-screen img { width: 100%; height: auto; }
.topo-chat-reply { margin-top: .65rem; padding: .72rem .95rem; border: 1px solid var(--line); border-radius: 18px 18px 5px 18px; background: #fff; color: var(--muted); font-size: .9rem; }
.topo-route-stats { display: flex; gap: .15rem .65rem; flex-wrap: wrap; }
.topo-route-stats strong { color: var(--ink); }
.topo-route-conditions { margin-top: .28rem; }
.topo-avalanche strong { color: #8a471b; background: #fff0e2; border-radius: 1em; padding: .1em .45em; white-space: nowrap; }

h1, h2, h3, .topo-capabilities-close { font-family: Circe, system-ui, sans-serif; }
h2 { font-size: clamp(2.03rem, 4vw, 3.8rem); line-height: 1.04; letter-spacing: -.045em; }
h3 { font-size: clamp(1.17rem, 2vw, 1.48rem); line-height: 1.2; letter-spacing: -.017em; }
.topo-capabilities { padding-block: clamp(26px, 3.5vw, 50px) clamp(48px, 7vw, 94px); border-top: 1px solid var(--line); }
.topo-capability-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.8vw, 38px) clamp(22px, 4.5vw, 62px); list-style: none; padding: 0; margin: clamp(24px, 3vw, 43px) 0 0; }
.topo-capability-list li { border-top: 1px solid var(--line); padding-top: .9rem; }
.topo-capability-list p { max-width: 40ch; margin-top: .5rem; color: var(--muted); }
.topo-capabilities-close { margin-top: clamp(36px, 7vw, 94px); color: var(--heading); font-size: clamp(2.6rem, 6.5vw, 6.3rem); font-weight: 700; line-height: .99; letter-spacing: -.05em; text-align: center; text-wrap: balance; }

.topo-workflow { padding-block: clamp(45px, 6vw, 80px); border-block: 1px solid var(--line); background: var(--pale); }
.topo-steps { counter-reset: topo-step; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 5vw, 65px); padding: 0; margin: clamp(24px, 4.5vw, 54px) 0 0; }
.topo-steps li { counter-increment: topo-step; display: flex; flex-direction: column; border-top: 1px solid #bed7e1; padding-top: .75rem; }
.topo-steps li::before { content: counter(topo-step, decimal-leading-zero); display: block; margin-bottom: .65rem; color: var(--heading); font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.topo-steps p, .topo-example p { color: var(--muted); margin-top: .6rem; }
.topo-step-copy { padding-bottom: 1.25rem; }
.topo-step-visual { display: grid; place-items: center; aspect-ratio: 4 / 5; margin-top: auto; overflow: hidden; border: 1px solid #cde1e8; border-radius: 16px; background: #d9eff6; }
.topo-step-visual-book img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.topo-step-visual-video { aspect-ratio: auto; overflow: visible; border: 0; background: none; }
.topo-demo-phone { width: min(68%, 245px); overflow: hidden; border: 5px solid #172730; border-radius: clamp(17px, 2.8vw, 29px); background: #000; box-shadow: 0 12px 24px #1e303729; }
.topo-demo-phone video { display: block; width: 100%; height: auto; aspect-ratio: 660 / 1434; background: #000; }
.topo-demo-phone:has(video:focus-visible) { outline: 3px solid var(--focus); outline-offset: 4px; }

.topo-example { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: clamp(28px, 7vw, 101px); padding-block: clamp(52px, 7.5vw, 112px); }
.topo-example-copy > p { max-width: 43ch; font-size: 1.08rem; margin-top: .85rem; }
.topo-page .topo-section-subtitle { margin-top: .45rem; color: var(--heading); font-size: .95rem; font-weight: 700; }
.topo-prompt, .topo-ask-prompts blockquote { border: 1px solid var(--line); border-radius: 22px 22px 22px 5px; background: var(--pale); }
.topo-prompt { margin-top: 1.45rem; padding: 1.12rem 1.35rem; }
.topo-prompt figcaption { color: var(--heading); font-size: .87rem; font-weight: 700; }
.topo-prompt blockquote { margin: .55rem 0 .8rem; font-size: 1.1rem; }
.topo-copy { border: 1px solid #c2dbe7; border-radius: 20px; background: #fff; padding: .36rem .85rem; color: var(--heading); font-weight: 700; cursor: pointer; }
.topo-copy:hover { border-color: var(--accent); }
.topo-copy-status:empty { display: none; }
.topo-example-notes > div { padding: .95rem 0 1.12rem; border-top: 1px solid var(--line); }
.topo-condition-links { display: flex; flex-wrap: wrap; gap: .45rem 1.15rem; margin-top: .8rem; color: var(--heading); font-weight: 700; }

.topo-ask { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); align-items: start; gap: clamp(22px, 5vw, 70px); padding-block: clamp(36px, 5.5vw, 76px); border-top: 1px solid var(--line); }
.topo-ask h2 { text-wrap: balance; }
.topo-ask-prompts { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.topo-ask-prompts li { width: fit-content; max-width: 100%; }
.topo-ask-prompts blockquote { max-width: 45ch; margin: 0; padding: .9rem clamp(1rem, 2vw, 1.35rem); font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 650; }
.topo-ask-prompts li:nth-child(odd) { margin-inline-end: clamp(12px, 4vw, 56px); }
.topo-ask-prompts li:nth-child(even) { justify-self: end; margin-inline-start: clamp(12px, 4vw, 56px); }
.topo-ask-prompts li:nth-child(even) blockquote { border-radius: 22px 22px 5px 22px; background: #f3f6f8; }
.topo-ask-prompts li:first-child blockquote { border-color: #cfe7f8; background: #e9f5ff; }

.topo-connect { padding-block: clamp(36px, 5.5vw, 76px); border-top: 1px solid var(--line); }
.topo-connect-server { margin-top: 1.4rem; }
.topo-connect-server > p { color: var(--heading); font-size: .92rem; font-weight: 700; }
.topo-connect-copy { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .8rem; margin-top: .3rem; }
.topo-connect-copy code { padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 8px; background: var(--pale); overflow-wrap: anywhere; }
.topo-connect .topo-copy { min-height: 44px; }
.topo-connect-copy .topo-copy-status { flex-basis: 100%; }
.topo-connect-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.35rem; }
.topo-connect-option { padding: clamp(1.05rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 16px; }
.topo-connect-option .topo-button { margin-top: .8rem; }
.topo-connect-option ol { padding-inline-start: 1.4rem; margin-block: 1rem 0; }
.topo-connect-option li + li { margin-top: .45rem; }
.topo-connect-note { margin-top: .85rem; color: var(--muted); font-size: .92rem; }
.topo-connect-options:has(.topo-setup-video:not([hidden])) { align-items: start; }
.topo-setup-demos { margin-top: 1.15rem; }
.topo-setup-demo-links { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .8rem; }
.topo-setup-demo-links .topo-button { margin-top: 0; min-height: 44px; padding: .5rem .85rem; text-align: center; }
.topo-setup-demo-links .topo-text-link { text-decoration: underline; }
.topo-setup-demo-links [aria-current="true"] { border-color: var(--heading); background: var(--pale); }
.topo-setup-video { display: block; width: 100%; aspect-ratio: 1600 / 1024; margin: .85rem auto 0; border-radius: 12px; background: #101923; }
.topo-setup-video[hidden] { display: none; }
.topo-setup-video--portrait { width: min(100%, 17rem); aspect-ratio: 720 / 1648; }
.topo-connect-prompt { max-width: 45rem; }
.topo-connect .topo-copy-status:not(:empty) { color: var(--heading); font-size: .92rem; }

.topo-access { background: var(--pale); }
.topo-access-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.35rem 3rem; padding-block: clamp(34px, 5.6vw, 74px); }
.topo-access h2 { font-size: clamp(1.9rem, 3.6vw, 3.05rem); }
.topo-access p { max-width: 60ch; margin-top: .8rem; color: var(--muted); }
.topo-access .topo-button { flex: 0 0 auto; }
.topo-legal { display: flex; flex-wrap: wrap; gap: .55rem 1.4rem; margin-top: 1rem; color: var(--heading); font-size: .92rem; }
.topo-page > .footer { margin: 56px 0 0; }
.topo-newsletter-status { position: absolute; inset-block-start: calc(100% + .35rem); color: var(--muted); font-size: .875rem; line-height: 1.35; }

/* Keep the desktop navigation visible where the localized labels and language selector fit. */
@media (min-width: 900px) and (max-width: 1279px) {
    .topo-site-header .header__inn { gap: 1rem; }
    .topo-site-header .header__logo img { width: clamp(128px, 16vw, 174px); }
    .topo-site-header .header__burger,
    .topo-site-header .header__controls::before,
    .topo-site-header .header__controls::after { display: none; }
    .topo-site-header .header__controls {
        position: static;
        flex-direction: row;
        align-items: center;
        gap: clamp(.5rem, 2vw, 2.5rem);
        width: auto;
        background: transparent;
        visibility: visible;
        transform: none;
        transition: none;
    }
    .topo-site-header .header__navigation { position: static; width: auto; padding: 0; overflow: visible; }
    .topo-site-header .nav { flex-direction: row; align-items: center; }
    .topo-site-header .nav__block_langs { order: 1; margin: 0; }
    .topo-site-header .nav__link { padding: .65rem clamp(.45rem, 1.1vw, 1.25rem); white-space: nowrap; }
    .topo-site-header .nav__link-icn { font-size: 20px; margin-right: 5px; }
    .topo-site-header .nav__link-text,
    .topo-site-header .explore-btn .btn__text { font-size: clamp(.8rem, 1.45vw, 1rem); }
    .topo-site-header .header__explore-btn { position: static; width: auto; border: 0; padding: 0; }
    .topo-site-header .header__explore-btn .explore-btn { width: auto; min-width: 0; padding: 13px clamp(1rem, 2vw, 2.2rem); }
    .topo-site-header .nav__block-dd {
        display: block;
        position: absolute;
        margin: 5px 0 0;
        padding: 8px 0;
        border: 1px solid var(--nav-hairline);
        background-color: #fff;
        box-shadow: 0 10px 25px rgba(0, 38, 81, .15);
        visibility: hidden;
        opacity: 0;
    }
    .topo-site-header .nav__block:hover .nav__block-dd,
    .topo-site-header .nav__link_active + .nav__block-dd { visibility: visible; opacity: 1; transform: none; }
}

@media (max-width: 850px) {
    .topo-hero { grid-template-columns: 1fr; gap: 2rem; }
    .topo-hero-scene { width: min(100%, 630px); }
    .topo-capability-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .topo-example, .topo-ask { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .topo-hero { padding-block: 28px 42px; }
    .topo-hero h1 { font-size: clamp(2.45rem, 11vw, 3.8rem); }
    .topo-screen { border-radius: 12px; }
    .topo-capability-list, .topo-steps { grid-template-columns: 1fr; gap: 1.2rem; }
    .topo-step-visual { width: min(100%, 370px); }
    .topo-connect-options { grid-template-columns: 1fr; }
    .topo-access-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
