@charset "UTF-8";

:root {
    color-scheme: light;
    --ink: #202b43;
    --muted: #657187;
    --blue: #284fba;
    --sky: #edf3ff;
    --gold: #ffe384;
    --night: #18233b;
    --line: #dce4f2;
    --radius: 4px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font: 16px/1.75 system-ui, -apple-system, "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, figure {
    margin: 0;
}

h1, h2, h3 {
    line-height: 1.35;
    text-wrap: balance;
}

h2 {
    font-size: clamp(28px, 3.1vw, 38px);
    letter-spacing: -.04em;
    font-weight: 800;
}

h3 {
    font-size: 19px;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

a, button, summary {
    touch-action: manipulation;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid #c27900;
    outline-offset: 5px;
}

a:active, button:active {
    opacity: .8;
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.section {
    padding-block: 88px;
}

.eyebrow {
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .12em;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 36px;
}

.section-heading > p {
    max-width: 290px;
    color: var(--muted);
    font-size: 14px;
}

.section-heading.centered {
    display: block;
    text-align: center;
}

.section-heading.centered > p {
    max-width: none;
}

.icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.icon::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: currentColor;
    mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;
}

.icon-download::before {
    mask-image: url("../icons/download.svg");
}

.icon-arrow::before {
    mask-image: url("../icons/arrow.svg");
}

.icon-zoom::before {
    mask-image: url("../icons/zoom.svg");
}

.icon-menu::before {
    mask-image: url("../icons/menu.svg");
}

.download-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: #222b3d;
    background: var(--gold);
    font-size: 15px;
    font-weight: 750;
    transition: background .18s, transform .18s;
}

.download-button:hover {
    background: #ffda59;
    transform: translateY(-2px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 650;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 20;
    padding: 10px 20px;
    color: #fff;
    background: var(--night);
}

.skip-link:focus {
    top: 10px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 80px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
}

.brand img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
}

.primary-navigation {
    margin-left: auto;
}

.primary-navigation ul, .site-footer ul {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-navigation a {
    display: block;
    padding-block: 18px;
    font-size: 13px;
    font-weight: 600;
}

.primary-navigation a:hover, .primary-navigation a[aria-current="location"] {
    color: var(--blue);
}

.header-download {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 13px;
}

.menu-toggle {
    display: none;
}

.hero {
    overflow: hidden;
    padding-top: 60px;
    background: radial-gradient(ellipse at 50% 100%, #c3d6ff, transparent 65%), #f0f5ff;
}

.hero-inner {
    position: relative;
    text-align: center;
}

.hero-heading {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(42px, 4.5vw, 64px);
    line-height: 1.2;
    letter-spacing: -.045em;
    font-weight: 850;
}

.hero h1 span {
    color: var(--blue);
}

.hero-description {
    margin-top: 20px;
    color: #536681;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 26px;
    margin-top: 24px;
}

.hero-display {
    position: relative;
    width: min(660px, 100%);
    height: 300px;
    margin: 38px auto 0;
}

.hero-display::before {
    content: "";
    position: absolute;
    inset: 35px -60px -240px;
    border: 1px solid #b3c7ef;
    border-radius: 50%;
    background: #d9e6ff;
}

.hero-screen {
    position: absolute;
    top: 0;
    width: 205px;
    height: auto;
    border: 6px solid var(--night);
    border-radius: 22px;
    box-shadow: 0 12px 40px #253d7326;
}

.hero-screen-left {
    top: 50px;
    left: 6%;
    transform: rotate(-10deg);
}

.hero-screen-right {
    top: 50px;
    right: 6%;
    transform: rotate(10deg);
}

.hero-screen-main {
    left: 50%;
    transform: translateX(-50%);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.screen-card {
    min-width: 0;
    scroll-margin-top: 112px;
}

.screen-link {
    position: relative;
    display: block;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f1f5fc;
    transition: border-color .2s, transform .2s;
}

.screen-link:hover {
    border-color: #8ca8ed;
    transform: translateY(-4px);
}

.screen-link img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.zoom-label {
    position: absolute;
    bottom: 24px;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: max-content;
    padding: 5px 12px;
    border: 1px solid #ffffff4d;
    border-radius: 30px;
    color: #fff;
    background: #101a30e8;
    font-size: 12px;
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity .2s;
}

.screen-link:hover .zoom-label, .screen-link:focus-visible .zoom-label {
    opacity: 1;
}

.screen-card figcaption {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.screen-number {
    padding-top: 3px;
    color: #7583a0;
    font-size: 12px;
    font-weight: 700;
}

.screen-card h3 {
    font-size: 17px;
}

.screen-card figcaption p {
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
}

.features {
    color: #fff;
    background: var(--night);
}

.feature-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.features .eyebrow {
    color: var(--gold);
}

.feature-intro h2 {
    font-size: clamp(32px, 3.8vw, 48px);
}

.feature-intro > p:not(.eyebrow) {
    margin-top: 22px;
    color: #c3cde0;
    font-size: 15px;
}

.channel-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 340px;
    margin-top: 30px;
}

.channel-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #53617d;
    font-size: 14px;
}

.channel-links a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #45536e;
    border-left: 1px solid #45536e;
}

.feature-cards article {
    padding: 28px 24px;
    border-right: 1px solid #45536e;
    border-bottom: 1px solid #45536e;
    background: #1e2b46;
}

.feature-symbol {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 20px;
    border: 1px solid #8c9cb9;
    border-radius: 50%;
    color: var(--gold);
    font-size: 14px;
}

.feature-cards h3 {
    font-size: 17px;
}

.feature-cards p {
    margin-top: 10px;
    color: #c3cde0;
    font-size: 14px;
}

.guide {
    background: #fffdf6;
}

.guide-layout {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 80px;
    align-items: start;
}

.guide-heading > p:not(.eyebrow) {
    margin-top: 20px;
    color: var(--muted);
}

.guide-heading .text-link {
    margin-top: 22px;
}

.guide-steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-steps li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #dfddcf;
}

.guide-steps li:last-child {
    border-bottom: 1px solid #dfddcf;
}

.guide-steps li > span {
    color: #a37417;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 300;
}

.guide-steps p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}

.narrow {
    max-width: 900px;
}

details {
    border-bottom: 1px solid var(--line);
}

summary {
    position: relative;
    padding: 20px 38px 20px 0;
    list-style: none;
    font-weight: 650;
    cursor: pointer;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    top: 20px;
    right: 4px;
    color: var(--blue);
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
}

details[open] > summary::after {
    content: "−";
}

details > p {
    padding: 0 32px 22px 0;
    color: var(--muted);
    font-size: 15px;
}

.news {
    background: #f4f7fc;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.news-grid article {
    padding: 28px;
    border: 1px solid var(--line);
    background: #fff;
}

.news-grid article > p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.news-grid details {
    margin-top: 16px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
}

.news-grid summary {
    padding-block: 14px 0;
    color: var(--blue);
    font-size: 13px;
}

.news-grid summary::after {
    top: 12px;
}

.news-grid details > p {
    padding: 14px 0 0;
    font-size: 14px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.review-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fbfcff;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    white-space: nowrap;
}

.avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #315093;
    background: #e4ecfc;
    font-size: 12px;
}

.review-author strong {
    font-size: 13px;
    font-weight: 650;
}

.review-author time {
    margin-left: auto;
    color: #657187;
    font-size: 11px;
    letter-spacing: -.02em;
}

.review-card > p {
    color: #4a5870;
    font-size: 14px;
    line-height: 1.9;
}

.download-center {
    background: #fff0b4;
}

.download-inner {
    text-align: center;
}

.download-inner .eyebrow {
    color: #735710;
}

.download-panel {
    display: flex;
    align-items: center;
    gap: 18px;
    width: fit-content;
    max-width: 100%;
    margin: 32px auto 0;
    padding: 24px 28px;
    border: 1px solid #e3cd78;
    background: #fffdf5;
    text-align: left;
}

.download-panel > img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
}

.download-panel p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.download-panel .download-button {
    margin-left: 24px;
    color: #fff;
    background: var(--blue);
}

.download-panel .download-button:hover {
    background: #203f96;
}

.site-footer {
    padding: 40px 0 24px;
    color: #e0e8f8;
    background: #152037;
}

.footer-top, .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.site-footer nav {
    font-size: 13px;
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #3c4b65;
    color: #a9b7d0;
    font-size: 12px;
}

.image-dialog {
    width: min(640px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    padding: 16px;
    border: 0;
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
}

.image-dialog::backdrop {
    background: #0b1329d9;
}

.preview-toolbar, .preview-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.preview-toolbar h2 {
    font-size: 16px;
    letter-spacing: 0;
}

.image-dialog button {
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #f1f5fc;
    font-size: 13px;
}

.image-dialog button:hover {
    border-color: var(--blue);
}

.preview-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 170px);
    margin: 14px auto;
    object-fit: contain;
}

.preview-caption {
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

body:has(.image-dialog[open]) {
    overflow: hidden;
}

@media (min-width: 992px) {
    .review-grid {
        grid-auto-flow: column;
        grid-template-rows: repeat(2, auto);
    }
}

@media (max-width: 1199px) {
    .header-inner {
        gap: 16px;
    }

    .primary-navigation ul {
        gap: 14px;
    }

    .brand {
        font-size: 18px;
    }

    .header-download {
        padding-inline: 12px;
    }

    .feature-layout, .guide-layout {
        gap: 40px;
    }

    .review-card {
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .section {
        padding-block: 64px;
    }

    .header-inner {
        flex-wrap: wrap;
        padding-block: 12px;
    }

    .primary-navigation {
        order: 4;
        width: 100%;
    }

    .primary-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .primary-navigation a {
        padding-block: 8px;
    }

    .header-download {
        margin-left: auto;
    }

    .menu-toggle.ready {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        padding: 6px 10px;
        border: 1px solid var(--line);
        border-radius: 4px;
        background: #fff;
        font-size: 13px;
    }

    .header-inner:has(.menu-toggle.ready) .header-download {
        margin-left: 0;
    }

    .header-inner:has(.menu-toggle.ready) .primary-navigation {
        display: none;
    }

    .header-inner:has(.menu-toggle[aria-expanded="true"]) .primary-navigation {
        display: block;
    }

    .screenshot-grid, .review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .screenshot-grid {
        gap: 30px;
    }

    .feature-layout, .guide-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-intro {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 30px;
    }

    .feature-intro .eyebrow, .feature-intro h2 {
        grid-column: 1;
    }

    .feature-intro > p:not(.eyebrow), .channel-links {
        grid-column: 2;
    }

    .feature-intro > p:not(.eyebrow) {
        grid-row: 1 / span 2;
        margin-top: 0;
    }

    .channel-links {
        grid-row: 3;
        margin-top: 18px;
    }

    .footer-top {
        align-items: start;
    }

    .site-footer ul {
        flex-wrap: wrap;
        justify-content: end;
        gap: 10px 20px;
    }
}

@media (max-width: 767px) {
    html {
        scroll-padding-top: 86px;
    }

    .container {
        width: calc(100% - 40px);
    }

    .section {
        padding-block: 52px;
    }

    .header-inner {
        gap: 10px;
        min-height: 72px;
    }

    .brand {
        gap: 8px;
        font-size: 17px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .header-download {
        display: none;
    }

    .primary-navigation ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .primary-navigation a {
        padding: 12px 8px;
    }

    .hero {
        padding-top: 40px;
    }

    .hero h1 {
        font-size: clamp(36px, 7vw, 48px);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 22px;
    }

    .hero-display {
        height: 225px;
        margin-top: 24px;
    }

    .hero-screen {
        width: 42%;
        border-width: 4px;
        border-radius: 16px;
    }

    .hero-screen-left {
        left: 1%;
    }

    .hero-screen-right {
        right: 1%;
    }

    .hero-display::before {
        inset-inline: -20px;
    }

    .section-heading {
        display: block;
        margin-bottom: 26px;
    }

    .section-heading > p {
        max-width: none;
        margin-top: 14px;
    }

    .screenshot-grid {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding: 4px 4px 16px;
        scroll-snap-type: x mandatory;
    }

    .screen-card {
        flex: 0 0 min(76%, 290px);
        scroll-snap-align: start;
    }

    .screen-card figcaption {
        margin-top: 14px;
    }

    .zoom-label {
        opacity: 1;
    }

    .feature-intro {
        display: block;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .feature-cards article {
        padding: 22px;
    }

    .feature-symbol {
        float: left;
        margin: 0 18px 18px 0;
    }

    .feature-cards p {
        clear: both;
    }

    .guide-steps li {
        grid-template-columns: 48px 1fr;
        gap: 12px;
    }

    .news-grid, .review-grid {
        grid-template-columns: 1fr;
    }

    .news-grid article {
        padding: 22px;
    }

    .review-card {
        padding: 22px;
    }

    .review-author time {
        font-size: 11px;
    }

    .download-panel {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 16px;
        width: 100%;
        padding: 22px;
    }

    .download-panel > img {
        width: 52px;
        height: 52px;
    }

    .download-panel .download-button {
        grid-column: 1 / -1;
        margin: 0;
    }

    .footer-top, .footer-bottom {
        align-items: start;
        flex-direction: column;
        gap: 16px;
    }

    .site-footer ul {
        justify-content: start;
    }
}

@media (max-width: 359px) {
    .container {
        width: calc(100% - 32px);
    }

    .review-card {
        padding: 18px;
    }

    .review-author {
        gap: 6px;
    }

    .avatar {
        width: 24px;
        height: 24px;
    }

    .review-author time {
        font-size: 10px;
    }
}

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

    *, *::before, *::after {
        transition: none !important;
    }
}
