@font-face {
    font-family: Bricolage;
    src: url(../fonts/bricolage-latin.woff2) format("woff2");
    font-weight: 200 800;
    font-display: swap;
}
:root {
    --paper: #f8f7f4;
    --ink: #211e2a;
    --muted: #625f6b;
    --line: #dedbdc;
    --accent: #6842c6;
    --display: Bricolage, "PingFang SC", "Microsoft YaHei", sans-serif;
    color-scheme: light;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 25px;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font:
        16px/1.55 -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input {
    font: inherit;
    color: inherit;
}
button {
    cursor: pointer;
}
img {
    display: block;
    max-width: 100%;
}
h1,
h2,
h3,
p,
dl,
dd {
    margin: 0;
}
h1,
h2,
h3,
.brand {
    font-family: var(--display);
    line-height: 1.08;
}
h2 {
    font-size: clamp(31px, 3.2vw, 48px);
    font-weight: 680;
    letter-spacing: -0.055em;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}
.wrap {
    width: min(1240px, calc(100% - clamp(40px, 10vw, 160px)));
    margin-inline: auto;
}
.skip,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.skip:focus {
    position: fixed;
    z-index: 20;
    width: auto;
    height: auto;
    clip-path: none;
    background: #fff;
    padding: 10px;
}
[hidden],
.js-only {
    display: none !important;
}
.js .js-only {
    display: flex !important;
}
.mast {
    border-bottom: 1px solid var(--line);
}
.mast-inner,
.mast nav,
.brand,
.hero-actions,
.section-title,
.text-link,
.button,
.filters,
.foot,
.foot div,
.download {
    display: flex;
    align-items: center;
}
.mast-inner {
    min-height: 76px;
    justify-content: space-between;
    gap: 20px;
}
.brand {
    gap: 10px;
    font-size: 24px;
    font-weight: 740;
    letter-spacing: -0.065em;
}
.brand img {
    border-radius: 9px;
}
.mast nav {
    gap: 30px;
    font-size: 14px;
    font-weight: 550;
}
.mast nav a:hover,
.text-link:hover,
.foot a:hover,
.back:hover {
    color: var(--accent);
}
.lang {
    border-left: 1px solid var(--line);
    padding-left: 23px;
}
.hero {
    display: grid;
    grid-template-columns: 1fr 1.04fr;
    align-items: center;
    gap: clamp(35px, 5vw, 90px);
    padding-block: clamp(46px, 5.5vw, 88px);
}
.hero-copy {
    max-width: 620px;
}
.eyebrow,
.label,
.specs dt {
    font:
        600 11px/1.4 ui-monospace,
        SFMono-Regular,
        Consolas,
        monospace;
    letter-spacing: 0.085em;
    text-transform: uppercase;
    color: var(--muted);
}
.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
}
.studio-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px #6941c412;
    margin: 4px;
}
.hero h1 {
    font-size: clamp(62px, 6.75vw, 105px);
    letter-spacing: -0.078em;
    line-height: 0.96;
    font-weight: 700;
    margin: 23px 0 21px;
}
.hero h1 em {
    font-style: normal;
    color: var(--accent);
}
.lead {
    color: var(--muted);
    font-size: clamp(16px, 1.24vw, 19px);
    line-height: 1.58;
    max-width: 450px;
}
.hero-actions {
    margin-top: 29px;
    gap: 24px;
    flex-wrap: wrap;
}
.button {
    background: var(--ink);
    color: white;
    border-radius: 100px;
    font-weight: 620;
    justify-content: center;
    transition: background 0.2s;
}
.button {
    gap: 20px;
    padding: 12px 20px;
    font-size: 14px;
}
.button:hover {
    background: #52339b;
}
.button span,
.text-link span {
    font-size: 19px;
}
.text-link {
    display: inline-flex;
    gap: 9px;
    font-size: 14px;
    font-weight: 630;
    background: transparent;
    border: 0;
    padding: 0;
}
.workbench {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 1.47;
    border-radius: 22px;
    border: 1px solid #cfc3e3;
    background:
        radial-gradient(ellipse at 24% 17%, #faf3ff 0%, transparent 54%),
        linear-gradient(135deg, #e6dbfa, #d7caec 63%, #c4addf);
}
.workbench:before,
.product-art:before {
    content: "";
    position: absolute;
    inset: -60%;
    background-image:
        linear-gradient(#71618321 1px, transparent 1px),
        linear-gradient(90deg, #71618321 1px, transparent 1px);
    background-size: 40px 40px;
    transform: rotate(-24deg) skewX(18deg);
    pointer-events: none;
}
.tile-grid {
    position: absolute;
    left: 50%;
    top: 49%;
    width: 57%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10%;
    transform: translate(-50%, -50%) rotate(-29deg) skewX(14deg) scaleY(0.86);
}
.tile {
    position: relative;
    display: block;
    border-radius: 24%;
    aspect-ratio: 1;
    background: #c0b0cf;
    box-shadow:
        -1px 2px 0 #c0b3c9,
        -2px 4px 0 #afa0ba,
        -3px 6px 0 #a89ab4,
        -5px 9px 0 #a799b1,
        -9px 15px 10px #48306045,
        -16px 23px 21px #61427542;
}
.tile img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}
.main-tile {
    z-index: 1;
    transform: translate(2%, -7%) scale(1.09);
    box-shadow:
        -1px 2px #33354a,
        -3px 5px #27263c,
        -5px 9px #302944,
        -8px 14px #42344e,
        -13px 23px 18px #3f244d63;
}
.register {
    position: absolute;
    width: 12px;
    height: 12px;
    background:
        linear-gradient(#83748a, #83748a) center/1px 100% no-repeat,
        linear-gradient(#83748a, #83748a) center/100% 1px no-repeat;
    opacity: 0.6;
}
.tl {
    top: 19px;
    left: 19px;
}
.br {
    bottom: 19px;
    right: 19px;
}
.section-title {
    justify-content: space-between;
    gap: 18px;
    align-items: baseline;
    margin-bottom: 23px;
}
.spotlight {
    border-top: 1px solid var(--line);
    padding-block: 33px 0;
}
.picks-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.pick {
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    overflow: hidden;
}
.pick-art {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    aspect-ratio: 1.93;
    background: #191126;
}
.geometry-crash .pick-art {
    background:
        radial-gradient(ellipse at 50% 85%, #421854, transparent 56%), #050512;
}
.game-poster {
    height: 265%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: -100%;
    object-position: 50% 49%;
}
.gigmoments .pick-art {
    background:
        radial-gradient(ellipse at 25% 0%, #f8d9e7, transparent 60%),
        linear-gradient(135deg, #c6a8db, #9c85cf);
}
.daily-data-tracker .pick-art {
    background: linear-gradient(125deg, #add7fc, #d9f0ff 54%, #7ea6ce);
}
.near-shot,
.far-shot {
    width: 39%;
    position: absolute;
    top: 14%;
    border-radius: 7px;
    box-shadow: 1px 9px 20px #392b522e;
    transform: rotate(-9deg);
    left: 18%;
}
.far-shot {
    width: 36%;
    top: 24%;
    left: 54%;
    transform: rotate(8deg);
}
.pick-copy {
    padding: 19px 46px 24px 21px;
    position: relative;
}
.pick-copy h3 {
    font-size: clamp(22px, 2.1vw, 31px);
    margin: 6px 0 7px;
    letter-spacing: -0.052em;
}
.pick-copy p,
.app-entry p {
    font-size: 14px;
    line-height: 1.47;
    color: var(--muted);
}
.circle-arrow {
    position: absolute;
    right: 16px;
    top: 20px;
    font-size: 17px;
    border: 1px solid var(--line);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.pick:hover,
.app-entry:hover {
    border-color: #a69bb8;
}
.pick:hover h3,
.app-entry:hover h3 {
    color: var(--accent);
}
.catalog {
    padding-block: 80px;
}
.section-title sup {
    font: 580 13px var(--display);
    letter-spacing: 0;
    vertical-align: top;
    display: inline-block;
    margin: 3px 0 0 9px;
    padding: 4px 8px;
    border-radius: 20px;
    color: #6141a0;
    background: #e9e0f4;
}
.search {
    align-items: center;
    gap: 10px;
    border: 1px solid #cfcbd0;
    border-radius: 30px;
    background: #fff;
    padding: 8px 14px;
}
.search input {
    width: 150px;
    min-width: 0;
    border: 0;
    background: transparent;
    font-size: 14px;
}
.search i {
    position: relative;
    width: 13px;
    height: 13px;
    border: 1.7px solid var(--muted);
    border-radius: 50%;
}
.search i:after {
    content: "";
    position: absolute;
    width: 6px;
    height: 1.6px;
    background: var(--muted);
    transform: rotate(45deg);
    right: -4px;
    bottom: -2px;
}
.filters {
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.filters button {
    font-size: 13px;
    background: transparent;
    border: 1px solid #d3cfd5;
    border-radius: 30px;
    padding: 7px 14px;
}
.filters button[aria-pressed="true"] {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.app-entry {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    position: relative;
}
.app-entry img,
.product-icon {
    flex: none;
    border-radius: 22%;
    box-shadow: 0 0 0 1px #221e2a09;
}
.app-entry .label {
    font-size: 9px;
    letter-spacing: 0.06em;
}
.app-entry h3 {
    font-size: 20px;
    letter-spacing: -0.04em;
    margin: 4px 0 7px;
}
.app-entry p {
    font-size: 13px;
}
.entry-arrow {
    margin-left: auto;
    color: #807388;
    font-size: 14px;
}
#empty {
    padding: 45px 0;
    color: var(--muted);
}
.studio-section {
    background: #eae5ee;
    border-block: 1px solid #dcd4e0;
}
.studio-grid {
    padding-block: 56px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 12%;
}
.studio-grid h2 {
    margin: 12px 0;
}
.studio-grid p:not(.eyebrow) {
    max-width: 580px;
    color: var(--muted);
    margin: 0 0 19px;
}
.web-links {
    align-self: center;
}
.web-links h3 {
    font-size: 19px;
    margin-bottom: 9px;
}
.web-links a {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #cbc4cf;
    padding: 9px 0;
}
.web-links a:hover {
    color: var(--accent);
}
.foot,
.foot div {
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.foot {
    padding-block: 25px;
    font-size: 13px;
    color: var(--muted);
}
.product {
    padding-block: 25px 65px;
    --tint: #e0d3f1;
    --tint2: #c1abdc;
}
.palette-create {
    --tint: #f6dccc;
    --tint2: #e8baa7;
}
.palette-tools {
    --tint: #d8e6f5;
    --tint2: #abc4df;
}
.palette-play {
    --tint: #e0d4fa;
    --tint2: #b7a0d9;
}
.palette-organize {
    --tint: #d3e9e3;
    --tint2: #a9d0c6;
}
.back {
    color: var(--muted);
    font-size: 14px;
}
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6%;
    margin-block: 23px 36px;
}
.product-copy h1 {
    font-size: clamp(46px, 5.2vw, 82px);
    font-weight: 690;
    letter-spacing: -0.065em;
    line-height: 1;
    margin: 12px 0 18px;
    overflow-wrap: anywhere;
}
.product-copy .eyebrow {
    margin-top: 23px;
}
.product-art {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.25;
    isolation: isolate;
    border-radius: 20px;
    background:
        radial-gradient(ellipse at top left, #ffffff85, transparent 75%),
        linear-gradient(125deg, var(--tint), var(--tint2));
}
.product-art:before {
    opacity: 0.55;
}
.product-prints {
    position: absolute;
    inset: 0;
}
.product-prints img {
    position: absolute;
    width: 34%;
    top: 8%;
    left: 17%;
    border-radius: 8px;
    transform: rotate(-7deg);
    box-shadow: 0 15px 28px #25213430;
}
.product-prints img:first-child {
    top: 17%;
    left: 50%;
    transform: rotate(8deg);
}
.download {
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 23px;
}
.brand-credits {
    padding-bottom: 20px;
    color: var(--muted);
    font-size: 12px;
}
.scan-card {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 22px);
    max-width: 410px;
    margin-top: 18px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(120deg, #fff 18%, var(--tint));
}
.scan-code {
    flex: none;
    border-radius: 11px;
    background: white;
    box-shadow: 0 2px 8px #211e2a14;
}
.scan-code img {
    border-radius: inherit;
    width: clamp(112px, 12vw, 132px);
    height: auto;
}
.scan-card h2 {
    font-size: 21px;
    letter-spacing: -.03em;
}
.scan-card p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}
.store-badge {
    display: inline-flex;
    flex: none;
    border-radius: 6px;
}
.specs {
    display: flex;
    border-block: 1px solid var(--line);
    padding: 20px 0;
    gap: clamp(22px, 7vw, 110px);
    flex-wrap: wrap;
}
.specs dd {
    font-weight: 580;
    font-size: 16px;
    margin-top: 3px;
}
.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9%;
    margin: 54px 0;
}
.story h2,
.gallery h2 {
    font-size: clamp(28px, 2.5vw, 38px);
    margin-bottom: 17px;
}
.story p {
    color: var(--muted);
    line-height: 1.7;
}
.story ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.story li {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    gap: 11px;
}
.story li:before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
.gallery-grid {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}
.shot {
    width: min(24%, 260px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 13px #211e2a15;
    cursor: zoom-in;
}
.shot img {
    width: 100%;
    height: auto;
}
#viewer {
    border: none;
    background: #1a1820;
    color: #fff;
    border-radius: 16px;
    padding: 0;
    max-height: 96dvh;
    max-width: 96vw;
}
#viewer::backdrop {
    background: #171421d9;
}
.viewer-inner {
    position: relative;
    display: grid;
    justify-items: center;
    padding: 14px;
}
.viewer-inner img {
    max-height: 78dvh;
    max-width: 80vw;
    object-fit: contain;
}
.viewer-controls {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-top: 10px;
    font-size: 14px;
}
.viewer-inner button {
    background: #302d37;
    border: 1px solid #746f7d;
    color: white;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 20px;
}
.close {
    position: absolute;
    top: 12px;
    right: 9px;
}
html:lang(zh-CN) h1,
html:lang(zh-CN) h2,
html:lang(zh-CN) h3 {
    letter-spacing: -0.045em;
}
html:lang(zh-CN) .hero h1 {
    line-height: 1.1;
}
@media (max-width: 940px) {
    .wrap {
        width: calc(100% - 60px);
    }
    .hero {
        gap: 24px;
    }
    .hero h1 {
        font-size: clamp(54px, 7.6vw, 78px);
    }
    .workbench {
        aspect-ratio: 1.15;
    }
    .tile-grid {
        width: 64%;
    }
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .picks-grid {
        gap: 12px;
    }
    .pick-copy {
        padding: 15px 34px 18px 15px;
    }
    .circle-arrow {
        right: 10px;
        width: 22px;
        height: 22px;
        font-size: 14px;
    }
}
@media (max-width: 680px) {
    .wrap {
        width: calc(100% - 36px);
    }
    .mast-inner {
        min-height: 64px;
        gap: 8px;
    }
    .brand {
        font-size: 20px;
        gap: 7px;
    }
    .brand img {
        width: 27px;
        height: 27px;
    }
    .mast nav {
        gap: 12px;
        font-size: 13px;
    }
    .mast nav a:nth-child(2),
    .mast nav a:nth-child(3) {
        display: none;
    }
    .lang {
        padding-left: 12px;
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-block: 37px 28px;
    }
    .hero h1 {
        font-size: clamp(57px, 13.4vw, 82px);
        margin: 18px 0;
    }
    .hero-actions {
        margin-top: 20px;
        gap: 17px;
    }
    .hero .lead {
        max-width: 39ch;
    }
    .workbench {
        aspect-ratio: 1.8;
        border-radius: 16px;
    }
    .tile-grid {
        width: 47%;
    }
    .spotlight {
        padding-top: 24px;
    }
    .section-title {
        margin-bottom: 16px;
    }
    .picks-grid {
        grid-template-columns: 1fr;
    }
    .pick {
        display: grid;
        grid-template-columns: 36% 1fr;
    }
    .pick-art {
        height: 100%;
        aspect-ratio: auto;
        min-height: 135px;
    }
    .pick-copy {
        align-self: center;
        padding: 17px;
    }
    .pick-copy p {
        font-size: 13px;
    }
    .circle-arrow {
        display: none;
    }
    .far-shot,
    .near-shot {
        width: 55%;
    }
    .near-shot {
        left: 0;
    }
    .far-shot {
        left: 48%;
    }
    .game-poster {
        width: 100%;
        height: 175%;
        top: -24%;
    }
    .catalog {
        padding-block: 42px;
    }
    .catalog .section-title {
        align-items: flex-start;
        flex-direction: column;
    }
    .search {
        width: 100%;
    }
    .search input {
        width: 100%;
    }
    .filters {
        gap: 6px;
        margin-bottom: 18px;
    }
    .filters button {
        font-size: 12px;
        padding: 6px 11px;
    }
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    .app-entry {
        padding: 15px;
    }
    .studio-grid,
    .story,
    .product-hero {
        grid-template-columns: 1fr;
    }
    .studio-grid {
        padding-block: 35px;
        gap: 27px;
    }
    .foot {
        gap: 9px;
    }
    .foot div {
        gap: 13px;
    }
    .product {
        padding-top: 16px;
    }
    .product-hero {
        margin-block: 19px 24px;
        gap: 23px;
    }
    .product-copy h1 {
        font-size: clamp(43px, 10vw, 65px);
    }
    .product-icon {
        width: 62px;
        height: 62px;
    }
    .product-copy .eyebrow {
        margin-top: 14px;
    }
    .product-art {
        aspect-ratio: 1.5;
    }
    .specs {
        gap: 17px;
        padding: 15px 0;
    }
    .specs dt {
        font-size: 9px;
    }
    .specs dd {
        font-size: 14px;
    }
    .story {
        gap: 27px;
        margin: 31px 0;
    }
    .gallery-grid {
        overflow: auto;
        padding: 2px 1px 12px;
        scroll-snap-type: x mandatory;
    }
    .shot {
        width: 55%;
        flex: none;
        scroll-snap-align: start;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        transition: none !important;
    }
}
.mast nav a {
    white-space: nowrap;
}
@media (max-width: 374px) {
    .download {
        gap: 6px;
    }
    .store-badge img {
        width: auto;
        height: 40px;
    }
    .google-play img {
        height: 60px;
    }
    /* The English image already provides horizontal space around the badge. */
    html:lang(en) .google-play {
        margin-inline: -8px;
    }
    html:lang(zh) .google-play img {
        height: 52px;
    }
}
@media (max-width: 360px) {
    .brand {
        font-size: 17px;
        gap: 5px;
    }
    .brand img {
        width: 24px;
        height: 24px;
    }
    .mast nav {
        gap: 8px;
        font-size: 12px;
    }
    .lang {
        padding-left: 8px;
    }
}
