/* ==========================================================================
   摘星卡片 · 官网样式
   设计：纸感 / 星夜 / 金色；不依赖外部字体与图片
   ========================================================================== */

:root {
    --ink: #12151c;
    --ink-2: #1a1f2a;
    --night: #0d1017;
    --night-2: #10141c;
    --paper: #f7f3ea;
    --paper-2: #fffdf8;
    --cream: #efe8da;
    --text: #1b1f26;
    --muted: #5f6673;
    --muted-2: #8a8f9a;
    --line: #e3ddd0;
    --line-soft: #ece6da;
    --gold: #f2b84b;
    --gold-2: #ffd37a;
    --gold-deep: #a97712;
    --green: #1b6556;
    --lime: #dfff35;
    --indigo: #5b67ff;
    --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", "SimSun", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    --max: 1180px;
    --radius: 18px;
    --shadow-sm: 0 1px 2px rgba(17, 20, 27, .04), 0 8px 24px rgba(17, 20, 27, .05);
    --shadow-md: 0 18px 50px rgba(17, 20, 27, .10);
    --shadow-lg: 0 40px 100px rgba(6, 8, 12, .35);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.dialog-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

::selection {
    background: rgba(242, 184, 75, .32);
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 1.15em;
    height: 1.15em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon--arrow {
    transition: transform .25s ease;
}

.skip-link {
    position: fixed;
    z-index: 200;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--gold);
    color: #171203;
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: none;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    min-height: 2.75em;
    padding: .72em 1.25em;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: .01em;
    white-space: nowrap;
    transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn--gold {
    background: linear-gradient(180deg, var(--gold-2), var(--gold));
    color: #1b1302;
    box-shadow: 0 8px 24px rgba(242, 184, 75, .22);
}

.btn--gold:hover {
    background: linear-gradient(180deg, #ffdc92, #f7c25a);
    box-shadow: 0 12px 30px rgba(242, 184, 75, .3);
}

.btn--dark {
    background: var(--ink);
    color: #fffaf0;
    box-shadow: 0 10px 26px rgba(18, 21, 28, .18);
}

.btn--dark:hover {
    background: #242a35;
}

.btn--ghost {
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .04);
    color: #f4efe4;
    backdrop-filter: blur(10px);
}

.btn--ghost:hover {
    border-color: rgba(242, 184, 75, .65);
    background: rgba(255, 255, 255, .08);
}

.btn--ghost-dark {
    border-color: #d8d0c0;
    background: transparent;
    color: var(--text);
}

.btn--ghost-dark:hover {
    border-color: var(--text);
    background: rgba(18, 21, 28, .04);
}

.btn--small {
    min-height: 2.35em;
    padding: .55em .95em;
    font-size: .82rem;
}

.btn--lg {
    min-height: 3.15em;
    padding: .92em 1.5em;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

.link-button,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    padding: 0;
    border: 0;
    background: none;
    color: var(--text);
    font-size: .92rem;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: rgba(169, 119, 18, .35);
    text-underline-offset: .22em;
    transition: color .2s ease, text-decoration-color .2s ease;
}

.text-link:hover {
    color: var(--gold-deep);
    text-decoration-color: currentColor;
}

.text-link .icon {
    transition: transform .2s ease;
}

.text-link:hover .icon {
    transform: translateX(3px);
}

.text-link--light {
    color: #f4efe4;
    text-decoration-color: rgba(242, 184, 75, .5);
}

.text-link--light:hover {
    color: var(--gold);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid transparent;
    color: #f4efe4;
    transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}

.site-header.is-scrolled {
    border-bottom-color: rgba(255, 255, 255, .08);
    background: rgba(9, 11, 16, .82);
    backdrop-filter: blur(18px) saturate(140%);
}

.site-header.nav-open {
    border-bottom-color: rgba(255, 255, 255, .08);
    background: rgba(9, 11, 16, .98);
    backdrop-filter: blur(18px) saturate(140%);
}

.site-header.is-solid {
    border-bottom-color: rgba(255, 255, 255, .08);
    background: #0b0e14;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.brand img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.brand__name {
    font-family: var(--serif);
    font-size: 1.24rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.brand__version {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 7px;
    border: 1px solid rgba(242, 184, 75, .38);
    border-radius: 999px;
    background: rgba(242, 184, 75, .10);
    color: var(--gold);
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .02em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.nav a {
    position: relative;
    color: rgba(244, 239, 228, .74);
    font-size: .88rem;
    transition: color .2s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.nav a:hover {
    color: #fffaf0;
}

.nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: #f4efe4;
}

.mobile-nav {
    display: none;
    padding: 8px 24px 22px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    background: rgba(9, 11, 16, .97);
    backdrop-filter: blur(18px);
}

.mobile-nav:not([hidden]) {
    display: grid;
    gap: 2px;
}

.mobile-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    color: rgba(244, 239, 228, .88);
    font-size: 1rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: -72px;
    padding-top: 72px;
    background:
        radial-gradient(900px 620px at 78% 16%, rgba(242, 184, 75, .14), transparent 62%),
        radial-gradient(760px 560px at 8% 0%, rgba(91, 103, 255, .18), transparent 60%),
        linear-gradient(180deg, #090b11 0%, #0d1017 52%, #11151d 100%);
    color: #f4efe4;
}

.hero__stars {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .7;
    background-image:
        radial-gradient(1.4px 1.4px at 8% 22%, rgba(255, 255, 255, .8), transparent),
        radial-gradient(1px 1px at 16% 68%, rgba(255, 255, 255, .55), transparent),
        radial-gradient(1.6px 1.6px at 27% 12%, rgba(255, 255, 255, .7), transparent),
        radial-gradient(1px 1px at 35% 48%, rgba(255, 255, 255, .45), transparent),
        radial-gradient(1.2px 1.2px at 44% 84%, rgba(255, 255, 255, .55), transparent),
        radial-gradient(1.8px 1.8px at 56% 18%, rgba(255, 255, 255, .7), transparent),
        radial-gradient(1px 1px at 63% 62%, rgba(255, 255, 255, .5), transparent),
        radial-gradient(1.2px 1.2px at 72% 34%, rgba(255, 255, 255, .65), transparent),
        radial-gradient(1px 1px at 81% 76%, rgba(255, 255, 255, .45), transparent),
        radial-gradient(1.7px 1.7px at 90% 20%, rgba(255, 255, 255, .7), transparent),
        radial-gradient(1px 1px at 95% 58%, rgba(255, 255, 255, .45), transparent),
        radial-gradient(1.3px 1.3px at 6% 88%, rgba(242, 184, 75, .6), transparent),
        radial-gradient(1.3px 1.3px at 40% 30%, rgba(242, 184, 75, .45), transparent),
        radial-gradient(1.3px 1.3px at 68% 90%, rgba(242, 184, 75, .5), transparent);
}

.hero__orbit {
    position: absolute;
    z-index: -1;
    top: -34%;
    right: -18%;
    width: 900px;
    height: 900px;
    pointer-events: none;
}

.hero__orbit span {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}

.hero__orbit span:nth-child(2) {
    inset: 11%;
    border-color: rgba(242, 184, 75, .09);
}

.hero__orbit span:nth-child(3) {
    inset: 24%;
    border-color: rgba(255, 255, 255, .05);
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    align-items: center;
    gap: 56px;
    min-height: 640px;
    padding-top: 58px;
    padding-bottom: 34px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    padding: 6px 13px 6px 10px;
    border: 1px solid rgba(242, 184, 75, .24);
    border-radius: 999px;
    background: rgba(242, 184, 75, .07);
    color: rgba(255, 238, 204, .88);
    font-family: var(--mono);
    font-size: .7rem;
    letter-spacing: .08em;
}

.eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7ee2a8;
    box-shadow: 0 0 0 4px rgba(126, 226, 168, .12);
}

.hero h1 {
    max-width: 11em;
    font-family: var(--serif);
    font-size: clamp(3.1rem, 5.35vw, 5.15rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.hl {
    position: relative;
    color: var(--gold);
    white-space: nowrap;
}

.hl::after {
    content: "";
    position: absolute;
    right: -.04em;
    bottom: .02em;
    left: -.04em;
    height: .16em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(242, 184, 75, .05), rgba(242, 184, 75, .62), rgba(242, 184, 75, .05));
    opacity: .7;
}

.hero__lead {
    max-width: 31em;
    margin-top: 26px;
    color: rgba(244, 239, 228, .72);
    font-size: 1.06rem;
    line-height: 1.85;
    text-wrap: pretty;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.hero__notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 26px;
    color: rgba(244, 239, 228, .58);
    font-size: .82rem;
}

.hero__notes li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero__notes .icon {
    width: 13px;
    height: 13px;
    color: rgba(126, 226, 168, .9);
}

.hero__stage {
    position: relative;
    justify-self: end;
    width: min(100%, 540px);
    height: 610px;
    perspective: 1400px;
}

.hero__glow {
    position: absolute;
    top: 48%;
    left: 50%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 184, 75, .22), rgba(242, 184, 75, .04) 52%, transparent 70%);
    filter: blur(12px);
    transform: translate(-50%, -50%);
}

.hero-card {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: min(348px, 76%);
    transform: translate(-50%, -50%) rotate(-3deg) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transform-style: preserve-3d;
    transition: transform .35s ease;
}

.hero-card .card {
    height: auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 2px 0 rgba(255, 255, 255, .5) inset;
}

.hero-card .card {
    font-size: 9.4px;
}

.ghost-card {
    position: absolute;
    z-index: 1;
    border-radius: 12px;
    pointer-events: none;
}

.ghost-card--night {
    top: 28px;
    right: 2%;
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 270px;
    height: 350px;
    padding: 24px;
    border: 1px solid #303733;
    background: linear-gradient(160deg, #1d2220, #151917);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .4);
    transform: rotate(6.5deg);
    opacity: .92;
}

.ghost-card__brand {
    color: #cbdc8e;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .04em;
}

.ghost-card__line {
    width: 100%;
    height: 7px;
    border-radius: 4px;
    background: #343b37;
}

.ghost-card__line--short {
    width: 62%;
}

.ghost-card__qr {
    width: 46px;
    height: 46px;
    margin-top: auto;
    border-radius: 4px;
    background:
        repeating-conic-gradient(#f4f5f1 0 25%, #1b1f1d 0 50%) 0 0 / 8px 8px;
    opacity: .8;
}

.ghost-card--signal {
    bottom: 22px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 218px;
    height: 260px;
    padding: 22px;
    background: linear-gradient(150deg, #e6ff63, #d5f52c);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .34);
    transform: rotate(-8deg);
    opacity: .9;
}

.ghost-card__big {
    color: #080907;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -.04em;
}

.ghost-card--signal .ghost-card__line {
    background: rgba(8, 9, 7, .18);
}

.float-chip {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 10px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(18, 21, 28, .82);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    color: rgba(244, 239, 228, .82);
    font-size: .78rem;
    backdrop-filter: blur(14px);
    animation: float 6s ease-in-out infinite;
}

.float-chip strong {
    color: #fffaf0;
    font-weight: 700;
}

.float-chip__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(242, 184, 75, .14);
    color: var(--gold);
}

.float-chip__icon--green {
    background: rgba(126, 226, 168, .12);
    color: #7ee2a8;
}

.float-chip--top {
    top: 48px;
    left: 2%;
}

.float-chip--bottom {
    right: 0;
    bottom: 72px;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero__trust {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    padding: 30px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.trust-item {
    display: flex;
    align-items: baseline;
    gap: 9px;
    min-width: 0;
}

.trust-item strong {
    flex: none;
    color: var(--gold);
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 700;
}

.trust-item span {
    color: rgba(244, 239, 228, .52);
    font-size: .78rem;
    line-height: 1.45;
}

.trust-item--wide strong {
    font-family: var(--sans);
    font-size: .86rem;
    letter-spacing: .02em;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
    position: relative;
    padding: 112px 0;
}

section[id] {
    scroll-margin-top: 88px;
}

.section--paper {
    background: var(--paper);
}

.section--cream {
    background: var(--cream);
}

.section--white {
    background: #fff;
}

.section--night {
    background:
        radial-gradient(760px 460px at 82% 8%, rgba(242, 184, 75, .07), transparent 65%),
        radial-gradient(600px 420px at 4% 60%, rgba(91, 103, 255, .07), transparent 65%),
        var(--night);
    color: #f4efe4;
}

.section-head {
    max-width: 760px;
    margin-bottom: 56px;
}

.section-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .7fr);
    align-items: end;
    gap: 56px;
    max-width: none;
}

.kicker {
    margin-bottom: 18px;
    color: var(--gold-deep);
    font-family: var(--mono);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.section--night .kicker {
    color: var(--gold);
}

.section h2 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 3.7vw, 3.3rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.section-head--split h2 {
    font-size: clamp(2.4rem, 4.1vw, 3.65rem);
}

.section-lead {
    max-width: 34em;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.9;
    text-wrap: pretty;
}

.section--night .section-lead {
    color: rgba(244, 239, 228, .62);
}

.section-head--split .section-lead {
    padding-bottom: .35em;
}

.section-head:not(.section-head--split) .section-lead {
    margin-top: 18px;
}

.nowrap {
    white-space: nowrap;
}

.section--night .hl {
    color: var(--gold);
}

.noscript-note {
    padding: 24px;
    border: 1px dashed rgba(255, 255, 255, .2);
    border-radius: 12px;
    color: rgba(244, 239, 228, .7);
}

/* ==========================================================================
   Steps
   ========================================================================== */

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

.step {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper-2);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step__visual {
    position: relative;
    display: grid;
    place-items: center;
    height: 236px;
    padding: 28px;
    border-bottom: 1px solid var(--line-soft);
    background:
        radial-gradient(280px 160px at 80% 10%, rgba(242, 184, 75, .16), transparent 70%),
        linear-gradient(160deg, #f2ecdf, #ece5d6);
    overflow: hidden;
}

.step__body {
    padding: 26px 28px 30px;
}

.step__num {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--gold-deep);
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .14em;
}

.step__body h3 {
    font-family: var(--serif);
    font-size: 1.58rem;
    line-height: 1.3;
}

.step__body p {
    margin-top: 9px;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.8;
}

.demo-browser {
    position: relative;
    width: 100%;
    max-width: 300px;
    padding: 12px;
    border: 1px solid #ded7c9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(65, 52, 30, .12);
    transform: rotate(-1.2deg);
}

.demo-browser__bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0ede5;
}

.demo-browser__bar > span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ddd8cb;
}

.demo-browser__bar em {
    margin-left: 6px;
    overflow: hidden;
    color: #a49d8f;
    font-family: var(--mono);
    font-size: 8px;
    font-style: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.demo-text {
    margin: 14px 3px 22px;
    color: #3b3f46;
    font-size: 11px;
    line-height: 1.95;
}

.demo-text mark {
    padding: 1px 2px;
    background: #ffe39a;
    color: inherit;
}

.demo-button {
    position: absolute;
    right: 12px;
    bottom: -14px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--ink);
    box-shadow: 0 10px 20px rgba(18, 21, 28, .22);
    color: #fffaf0;
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
}

.step__visual--layout {
    display: block;
}

.stack-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 118px;
    height: 150px;
    padding: 14px;
    border-radius: 7px;
    box-shadow: 0 18px 34px rgba(65, 52, 30, .16);
}

.stack-card span {
    font-size: 7px;
    font-weight: 650;
    letter-spacing: .02em;
    opacity: .7;
}

.stack-card i {
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: currentColor;
    opacity: .16;
}

.stack-card i.short {
    width: 62%;
}

.stack-card strong {
    font-family: var(--serif);
    font-size: 16px;
    line-height: 1.2;
}

.stack-card--a {
    z-index: 1;
    top: 36px;
    left: 12%;
    border: 1px solid #e3e6eb;
    background: #fff;
    color: #315b8c;
    transform: rotate(-10deg);
}

.stack-card--b {
    z-index: 3;
    top: 28px;
    left: 50%;
    background: #1b1f1d;
    color: #cbdc8e;
    transform: translateX(-50%) rotate(1deg);
}

.stack-card--c {
    z-index: 2;
    top: 42px;
    right: 11%;
    background: #dfff35;
    color: #080907;
    transform: rotate(9deg);
}

.stack-hint {
    position: absolute;
    z-index: 4;
    right: 12px;
    bottom: 16px;
    padding: 6px 10px;
    border: 1px solid #d8d1c2;
    border-radius: 999px;
    background: rgba(255, 253, 248, .9);
    color: #6d6659;
    font-size: 9px;
    backdrop-filter: blur(8px);
}

.action-demo {
    width: 100%;
    max-width: 286px;
    padding: 18px;
    border: 1px solid #ded7c9;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(65, 52, 30, .12);
    transform: rotate(1.2deg);
}

.action-demo__title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    color: #32363d;
    font-size: 11px;
    font-weight: 650;
}

.action-demo__title span {
    color: var(--gold-deep);
}

.action-demo__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.action-demo__buttons span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    border: 1px solid #e4dfd3;
    border-radius: 7px;
    background: #fbf9f4;
    color: #4b4f57;
    font-size: 9px;
}

.action-demo__buttons .icon {
    width: 11px;
    height: 11px;
}

.action-demo__saved {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    padding: 8px 10px;
    border-radius: 7px;
    background: #eef8f1;
    color: #2c6b48;
    font-size: 9px;
    font-weight: 600;
}

.action-demo__saved .icon {
    width: 11px;
    height: 11px;
}

/* ==========================================================================
   Layout gallery
   ========================================================================== */

.layout-section {
    overflow: hidden;
}

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

.layout-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0;
}

.layout-tile__frame {
    position: relative;
    container-type: inline-size;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 17px;
    background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
    box-shadow: 0 20px 44px rgba(0, 0, 0, .22);
    transition: border-color .3s ease, background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.layout-tile:hover .layout-tile__frame,
.layout-tile:focus-within .layout-tile__frame {
    border-color: rgba(242, 184, 75, .48);
    background: linear-gradient(160deg, rgba(242, 184, 75, .09), rgba(255, 255, 255, .02));
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
    transform: translateY(-5px);
}

.layout-tile__card {
    display: block;
    aspect-ratio: 5 / 6;
    font-size: clamp(7.4px, 2.9cqw, 9px);
}

.layout-tile__card .card {
    height: 100%;
}

.layout-tile__zoom {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 20px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(10, 12, 17, .72);
    color: rgba(255, 250, 240, .86);
    font-size: 9px;
    letter-spacing: .03em;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .25s ease, transform .25s ease;
    backdrop-filter: blur(8px);
}

.layout-tile:hover .layout-tile__zoom,
.layout-tile:focus-within .layout-tile__zoom {
    opacity: 1;
    transform: none;
}

.layout-tile__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 3px;
}

.layout-tile__meta strong {
    color: #f4efe4;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.layout-tile__meta span {
    color: rgba(244, 239, 228, .48);
    font-size: .78rem;
    line-height: 1.55;
}

.layout-tile__hit {
    position: absolute;
    z-index: 4;
    inset: 0;
    border: 0;
    border-radius: 17px;
    background: transparent;
    color: transparent;
}

.layout-tile__hit:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 5px;
}

.layout-footnote {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.layout-footnote p {
    color: rgba(244, 239, 228, .5);
    font-size: .84rem;
}

.layout-footnote strong {
    color: rgba(244, 239, 228, .82);
    font-weight: 600;
}

.layout-footnote .text-link {
    flex: none;
    color: var(--gold);
    text-decoration-color: rgba(242, 184, 75, .4);
}

/* ==========================================================================
   Card component
   ========================================================================== */

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 2.2em 2.3em;
    overflow: hidden;
    border: 1px solid #e5e8ed;
    border-radius: .9em;
    background: #fff;
    color: #263244;
    font-family: var(--sans);
    font-size: inherit;
    line-height: 1.55;
    text-align: left;
}

.card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    color: #637487;
    font-size: .95em;
    letter-spacing: .01em;
}

.card__brand {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    font-weight: 650;
}

.card__brand i {
    color: var(--gold-deep);
    font-style: normal;
}

.card__head time {
    flex: none;
    color: #9aa2af;
    font-family: var(--mono);
    font-size: .78em;
    letter-spacing: 0;
}

.card__quote {
    margin: 1.7em 0;
    color: inherit;
    font-size: 1.58em;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.card__quote p {
    margin: 0;
}

.card__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2em;
    margin-top: auto;
    padding-top: 1.3em;
    border-top: 1px solid #e9edf1;
}

.source {
    display: flex;
    flex-direction: column;
    gap: .24em;
    min-width: 0;
}

.source strong {
    color: #172336;
    font-size: 1.06em;
    font-weight: 650;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.source span {
    color: #718094;
    font-size: .86em;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.source time {
    color: #9aa2af;
    font-family: var(--mono);
    font-size: .72em;
    letter-spacing: 0;
}

.qr-box {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    gap: .35em;
    width: 5.5em;
}

.qr {
    display: grid;
    place-items: center;
    width: 4.8em;
    height: 4.8em;
    padding: .3em;
    overflow: hidden;
    border: 1px solid #e9edf1;
    border-radius: .35em;
    background: #fff;
}

.qr img {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}

.qr:empty {
    background:
        repeating-conic-gradient(#1b1f26 0 25%, #fff 0 50%) 0 0 / .55em .55em;
    opacity: .16;
}

.qr-box small {
    color: #8a95a5;
    font-size: .66em;
    line-height: 1.2;
    white-space: nowrap;
}

/* 素白 */
.card--default .card__quote {
    padding: 1.5em 1.6em;
    border: 1px solid #e9edf1;
    border-radius: .55em;
    background: #f9fafb;
}

.card--default .card__head time {
    display: none;
}

/* 墨影 */
.card--modern {
    display: grid;
    grid-template-columns: 5.8em minmax(0, 1fr);
    padding: 0;
    border-color: #303234;
    background: #171819;
    color: #eeeeed;
}

.card__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding: 2em .7em;
    border-right: 1px solid #333537;
}

.rail-star {
    color: #d8d5cb;
    font-size: 1.1em;
}

.rail-label {
    color: #8f8c84;
    font-size: .62em;
    letter-spacing: .22em;
    writing-mode: vertical-rl;
}

.card__rail .qr {
    width: 4em;
    height: 4em;
    border-color: #3a3a3a;
}

.card__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 2.2em 2.2em 2.2em 1.8em;
}

.card--modern .card__head {
    color: #b8b5ac;
}

.card--modern .card__quote {
    margin: 1.4em 0;
    padding: 1.45em 1.55em;
    border: 1px solid #333537;
    border-radius: .55em;
    background: #202122;
    color: #eeeeed;
}

.card--modern .source {
    margin-top: auto;
}

.card--modern .source strong {
    color: #d8d5cb;
}

.card--modern .source span,
.card--modern .source time {
    color: #aaa9a6;
}

/* 书卷 */
.card--classic {
    display: grid;
    grid-template-columns: 7.8em minmax(0, 1fr);
    gap: 1.4em;
    padding: 2.1em;
    border-color: #dedfd8;
    background: #fdfdfb;
    font-family: var(--serif);
}

.classic__aside {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-right: 1.1em;
    border-right: 1px solid #e0e1d9;
}

.card--classic .card__brand {
    color: #6c7465;
    font-family: var(--sans);
    font-size: .88em;
}

.classic__aside .source {
    margin-top: auto;
    padding-bottom: .4em;
}

.card--classic .source strong {
    color: #516343;
    font-size: 1.08em;
}

.card--classic .source span,
.card--classic .source time {
    color: #76796f;
}

.card--classic .source time {
    white-space: nowrap;
}

.card--classic .qr-box {
    width: 100%;
    margin-top: .9em;
    align-items: flex-start;
}

.card--classic .qr {
    width: 4.3em;
    height: 4.3em;
    border-color: #ddd9ce;
}

.card--classic .qr-box small {
    color: #76796f;
}

.card--classic .card__quote {
    align-self: center;
    margin: 0;
    padding: 1.45em;
    border: 1px solid #e0e1d9;
    border-radius: .55em;
    background: #f5f5f0;
    color: #2f342f;
    font-size: 1.64em;
    line-height: 1.9;
}

/* 青笺 */
.card--note {
    border-color: #dfe8e2;
    background: #f8fbf9;
    color: #243734;
}

.card--note .card__head {
    padding-bottom: 1em;
    border-bottom: 1px solid #e2eae5;
}

.card--note .card__brand {
    color: #637d73;
}

.card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    margin: 1.2em 0;
}

.card--note .source strong {
    color: #2f6c62;
    font-size: 1.18em;
}

.card--note .source span,
.card--note .source time {
    color: #71837c;
}

.card--note .qr {
    border-color: #e2eae5;
}

.card--note .qr-box small {
    color: #71837c;
}

.card--note .card__quote {
    margin: 0;
    padding: 1.45em;
    border: 1px solid #e2eae5;
    border-radius: .55em;
    background: #fff;
    color: #243734;
}

/* 留白 */
.card--qingye {
    padding: 2.6em 2.4em;
    border-color: #e8ebe6;
    background: #fff;
    font-family: var(--serif);
}

.qingye__head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .9em;
    color: #1b6556;
    font-family: var(--sans);
    font-size: .88em;
    font-weight: 550;
}

.qingye__head i {
    display: block;
    width: 3.8em;
    height: 1.5px;
    background: #1b6556;
}

.card--qingye .card__quote {
    margin: 3em .2em 2.4em;
    font-size: 1.76em;
    line-height: 1.82;
}

.card--qingye .card__bottom {
    padding-top: 1em;
    border-top: 1px solid #8bada3;
}

.card--qingye .source strong {
    color: #202321;
    font-size: 1.02em;
}

.card--qingye .source span,
.card--qingye .source time,
.card--qingye .qr-box small {
    color: #647e76;
}

.card--qingye .qr {
    border-color: #d9e4df;
}

/* 夜航 */
.card--yedu {
    border-color: #2a302d;
    background: #1b1f1d;
    color: #f4f5f1;
}

.card--yedu .card__head {
    padding-bottom: .8em;
    border-bottom: 1px solid #5f6963;
    color: #cbdc8e;
}

.card--yedu .card__head time {
    color: #a0a6a2;
}

.card--yedu .card__quote {
    margin: 2.1em .2em;
    font-size: 1.62em;
    line-height: 1.8;
    white-space: normal;
}

.card--yedu .card__quote .lead {
    margin-bottom: 1.4em;
    margin-left: -.55em;
    padding-left: 1.05em;
    border-left: .27em solid #cbdc8e;
    font-size: 1.02em;
    font-weight: 650;
}

.card--yedu .card__bottom {
    border-top-color: #5f6963;
}

.card--yedu .source strong {
    color: #f4f5f1;
    font-size: 1.22em;
}

.card--yedu .source span,
.card--yedu .source time,
.card--yedu .qr-box small {
    color: #a0a6a2;
}

.card--yedu .qr {
    border-color: #4b544f;
}

/* 电光 */
.card--signal {
    padding: 1.7em 2em 0;
    border-color: #c9e62b;
    background: #dfff35;
    color: #080907;
}

.card--signal .card__head {
    color: #080907;
    font-weight: 700;
}

.card--signal .card__head time {
    color: #3a4109;
}

.card--signal .card__quote {
    margin: .9em 0 1.3em;
    padding-bottom: .45em;
    border-bottom: .32em solid #080907;
    font-size: 1.52em;
    font-weight: 700;
    line-height: 1.42;
}

.card--signal .card__quote strong {
    display: block;
    margin-bottom: .2em;
    font-size: 2.05em;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.card--signal .card__quote span {
    display: block;
    margin-top: .45em;
    font-size: 1.02em;
    line-height: 1.42;
}

.signal__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    margin: auto -2em 0;
    padding: 1em 2em;
    background: #fff;
}

.card--signal .source strong {
    color: #111;
    font-size: 1.08em;
    font-weight: 700;
}

.card--signal .source span,
.card--signal .source time,
.card--signal .qr-box small {
    color: #5c6268;
}

.card--signal .qr {
    border-color: #e6e6e6;
}

/* 格物 */
.card--manuscript {
    padding: 2.2em 2.3em 1.5em;
    border-color: #dbe4e0;
    background-color: #f0f4f3;
    background-image:
        linear-gradient(rgba(132, 155, 152, .062) 1px, transparent 1px),
        linear-gradient(90deg, rgba(132, 155, 152, .047) 1px, transparent 1px);
    background-size: 14px 14px;
    color: #111713;
}

.card--manuscript .card__head {
    gap: .8em;
    font-size: .9em;
}

.card--manuscript .head-rule {
    flex: 1;
    height: 1px;
    min-width: 0;
    background: #59635e;
}

.card--manuscript .card__head time {
    color: #52665c;
}

.card--manuscript .card__quote {
    position: relative;
    margin: 1.6em 0;
    padding-left: 3.2em;
    font-size: 1.55em;
    line-height: 1.78;
    white-space: normal;
}

.line-nums {
    position: absolute;
    top: 0;
    left: 0;
    width: 2.2em;
    color: #82928b;
    font-family: var(--mono);
    font-size: .58em;
    line-height: 1;
    text-align: right;
    pointer-events: none;
}

.line-nums span {
    position: absolute;
    left: 0;
    width: 100%;
}

.manuscript-text {
    padding-left: 1.1em;
    border-left: 1px solid #9ba7a3;
}

.manuscript-text mark {
    position: relative;
    padding: .08em 0;
    background: #a2ffe3;
    color: inherit;
}

.manuscript-text mark .caret {
    display: inline-block;
    width: .48em;
    height: .48em;
    margin-left: .22em;
    background: #f1287d;
    vertical-align: baseline;
}

.manuscript-text u {
    font-weight: 600;
    text-decoration-color: #f1287d;
    text-decoration-thickness: 2px;
    text-underline-offset: .26em;
}

.card--manuscript .card__bottom {
    padding-top: 1em;
    border-top: 1px solid #647069;
}

.card--manuscript .source strong {
    color: #111713;
    font-size: 1.08em;
}

.card--manuscript .source span,
.card--manuscript .source time {
    color: #52665c;
}

.card--manuscript .qr {
    border-color: #b9c6c1;
}

/* ==========================================================================
   Features
   ========================================================================== */

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

.feature {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fffdf8;
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.feature:hover {
    border-color: #d8cdb7;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feature__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 22px;
    border-radius: 12px;
    background: rgba(242, 184, 75, .16);
    color: var(--gold-deep);
}

.feature__icon .icon {
    width: 21px;
    height: 21px;
}

.feature h3 {
    font-family: var(--serif);
    font-size: 1.42rem;
    line-height: 1.35;
    letter-spacing: .01em;
}

.feature p {
    margin-top: 9px;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.85;
}

.feature__spec {
    margin-top: auto;
    padding-top: 20px;
    color: #9b8a6c;
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .04em;
}

/* ==========================================================================
   Library
   ========================================================================== */

.library-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 72px;
}

.library-copy h2 {
    margin-bottom: 24px;
    font-size: clamp(2rem, 3.15vw, 2.9rem);
}

.check-list {
    display: grid;
    gap: 14px;
    margin: 30px 0 30px;
}

.check-list li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.75;
}

.check-list .icon {
    width: 16px;
    height: 16px;
    margin-top: .35em;
    color: var(--gold-deep);
}

.check-list strong {
    color: var(--text);
    font-weight: 650;
}

.library-visual {
    position: relative;
    padding: 18px 0 34px;
}

.library-window {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: #10141b;
    box-shadow: 0 40px 80px rgba(48, 38, 20, .24);
    color: #e8e3d8;
}

.window-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 46px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: #1a1f28;
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3a4150;
}

.window-dots i:first-child {
    background: #e5715c;
}

.window-dots i:nth-child(2) {
    background: #dfb457;
}

.window-dots i:nth-child(3) {
    background: #63b97c;
}

.window-title {
    color: rgba(232, 227, 216, .72);
    font-size: .7rem;
    letter-spacing: .02em;
}

.window-count {
    margin-left: auto;
    color: rgba(232, 227, 216, .34);
    font-family: var(--mono);
    font-size: .6rem;
}

.library-body {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    min-height: 410px;
}

.library-side {
    padding: 18px 14px;
    border-right: 1px solid rgba(255, 255, 255, .06);
    background: #161b24;
}

.lib-search {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 7px;
    background: #202632;
    color: #7c8595;
    font-size: .6rem;
}

.lib-search .icon {
    width: 12px;
    height: 12px;
}

.lib-nav {
    display: grid;
    gap: 2px;
    margin-bottom: 22px;
}

.lib-nav span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 9px;
    border-radius: 6px;
    color: #99a1af;
    font-size: .66rem;
}

.lib-nav span.is-active {
    background: rgba(242, 184, 75, .12);
    color: var(--gold);
}

.lib-nav b {
    color: inherit;
    font-family: var(--mono);
    font-size: .58rem;
    font-weight: 500;
    opacity: .66;
}

.lib-label {
    margin-bottom: 9px;
    color: #5f6877;
    font-family: var(--mono);
    font-size: .55rem;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.lib-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.lib-tag-list span {
    padding: 4px 7px;
    border-radius: 4px;
    background: #202632;
    color: #929aa8;
    font-size: .58rem;
}

.lib-tag-list b {
    margin-left: 3px;
    font-weight: 400;
    opacity: .6;
}

.library-list {
    background: #10141b;
}

.lib-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 14px;
    gap: 14px;
    padding: 17px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.lib-item.is-active {
    background: #171c25;
}

.lib-thumb {
    display: flex;
    align-items: flex-end;
    width: 58px;
    height: 74px;
    padding: 8px;
    border-radius: 5px;
    font-family: var(--serif);
    font-size: .58rem;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.lib-thumb--dark {
    border-left: 3px solid #cbdc8e;
    background: #1b1f1d;
    color: #cbdc8e;
}

.lib-thumb--paper {
    border: 1px solid #dedfd8;
    background: #f5f5f0;
    color: #516343;
}

.lib-thumb--signal {
    background: #dfff35;
    color: #080907;
    font-weight: 800;
}

.lib-item__copy {
    min-width: 0;
}

.lib-item__copy p {
    display: -webkit-box;
    overflow: hidden;
    color: #d9d5cb;
    font-size: .72rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.lib-item__meta {
    display: block;
    margin-top: 6px;
    overflow: hidden;
    color: #6f7887;
    font-size: .57rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.lib-item__tags {
    display: flex;
    gap: 4px;
    margin-top: 7px;
}

.lib-item__tags i {
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .05);
    color: #8b94a3;
    font-size: .52rem;
    font-style: normal;
}

.lib-item__star {
    color: #5b6473;
    font-size: .7rem;
    line-height: 1.4;
}

.lib-item.is-active .lib-item__star {
    color: var(--gold);
}

.library-note {
    position: absolute;
    right: -14px;
    bottom: 0;
    width: 230px;
    padding: 14px 16px;
    border: 1px solid #e2d8c4;
    border-radius: 9px;
    background: #fffdf8;
    box-shadow: 0 18px 36px rgba(48, 38, 20, .18);
    transform: rotate(2.5deg);
}

.library-note__label {
    display: block;
    margin-bottom: 4px;
    color: var(--gold-deep);
    font-family: var(--mono);
    font-size: .55rem;
    letter-spacing: .16em;
}

.library-note p {
    color: #5d5547;
    font-family: var(--serif);
    font-size: .82rem;
    line-height: 1.65;
}

.library-stamp {
    position: absolute;
    bottom: -8px;
    left: -10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--ink);
    box-shadow: 0 10px 24px rgba(18, 21, 28, .23);
    color: rgba(255, 250, 240, .78);
    font-size: .62rem;
    transform: rotate(-2deg);
}

.library-stamp .icon {
    width: 11px;
    height: 11px;
    color: var(--gold);
}

/* ==========================================================================
   Privacy
   ========================================================================== */

.privacy-section {
    overflow: hidden;
}

.privacy-section::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -140px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
    pointer-events: none;
}

.privacy-section .section-head {
    max-width: 820px;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
    margin-top: 54px;
}

.privacy-item {
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .13);
}

.privacy-item__num {
    display: block;
    margin-bottom: 20px;
    color: var(--gold);
    font-family: var(--mono);
    font-size: .68rem;
    letter-spacing: .14em;
}

.privacy-item h3 {
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 700;
}

.privacy-item p {
    margin-top: 10px;
    color: rgba(244, 239, 228, .56);
    font-size: .9rem;
    line-height: 1.9;
}

.privacy-item code {
    padding: 1px 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 250, 240, .82);
    font-family: var(--mono);
    font-size: .8em;
}

.privacy-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.privacy-foot > span {
    color: rgba(244, 239, 228, .36);
    font-family: var(--mono);
    font-size: .64rem;
}

/* ==========================================================================
   Install
   ========================================================================== */

.install-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .82fr);
    align-items: center;
    gap: 82px;
}

.install-copy h2 {
    margin-bottom: 20px;
}

.install-steps {
    display: grid;
    gap: 22px;
    margin: 36px 0 34px;
}

.install-steps li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
}

.install-steps li > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d7c9ae;
    border-radius: 50%;
    color: var(--gold-deep);
    font-family: var(--mono);
    font-size: .72rem;
}

.install-steps strong {
    display: block;
    font-size: .98rem;
    font-weight: 650;
}

.install-steps p {
    margin-top: 3px;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.7;
}

.install-note {
    margin-top: 14px;
    color: var(--muted-2);
    font-size: .76rem;
}

.store-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 30px 70px rgba(48, 38, 20, .14);
}

.store-card__top {
    display: flex;
    align-items: center;
    gap: 16px;
}

.store-card__top img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(48, 38, 20, .18);
}

.store-card__label {
    display: block;
    color: #9b8a6c;
    font-family: var(--mono);
    font-size: .58rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.store-card h3 {
    margin-top: 3px;
    font-family: var(--serif);
    font-size: 1.55rem;
    line-height: 1.25;
}

.store-card__top p {
    margin-top: 3px;
    color: var(--muted);
    font-size: .78rem;
}

.store-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 22px 0;
    padding: 12px 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    color: var(--muted);
    font-size: .72rem;
}

.store-card__stars {
    color: var(--gold);
    font-size: .82rem;
    letter-spacing: .08em;
}

.store-card__stars i {
    color: #ddd5c5;
    font-style: normal;
}

.store-card__divider {
    width: 1px;
    height: 11px;
    background: var(--line);
}

.store-card__screens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.store-shot {
    display: flex;
    align-items: flex-end;
    height: 100px;
    padding: 10px;
    border-radius: 7px;
    font-family: var(--serif);
    font-size: .66rem;
    box-shadow: 0 6px 14px rgba(48, 38, 20, .10);
}

.store-shot--a {
    border: 1px solid #e5e8ed;
    background: #fff;
    color: #315b8c;
}

.store-shot--b {
    border-left: 4px solid #cbdc8e;
    background: #1b1f1d;
    color: #cbdc8e;
}

.store-shot--c {
    background: #dfff35;
    color: #080907;
    font-weight: 800;
}

.store-card__foot {
    margin-top: 12px;
    color: var(--muted-2);
    font-size: .66rem;
    text-align: center;
}

/* ==========================================================================
   Changelog
   ========================================================================== */

.release-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr);
    gap: 28px;
    align-items: start;
}

.release {
    padding: 34px 36px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper-2);
    box-shadow: var(--shadow-sm);
}

.release__head {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line-soft);
}

.release__badge {
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(242, 184, 75, .18);
    color: var(--gold-deep);
    font-family: var(--mono);
    font-size: .58rem;
    letter-spacing: .08em;
}

.release__head h3 {
    font-family: var(--serif);
    font-size: 2.7rem;
    line-height: 1;
}

.release__head time {
    margin-left: auto;
    color: var(--muted-2);
    font-family: var(--mono);
    font-size: .68rem;
}

.release__list {
    display: grid;
    gap: 0;
    margin-top: 6px;
}

.release__list li {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 20px;
    padding: 19px 0;
    border-bottom: 1px solid var(--line-soft);
}

.release__list strong {
    color: var(--text);
    font-family: var(--serif);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.55;
}

.release__list span {
    color: var(--muted);
    font-size: .87rem;
    line-height: 1.8;
}

.release__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
}

.release__hash {
    color: var(--muted-2);
    font-family: var(--mono);
    font-size: .62rem;
}

.release-history {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.release-history h3 {
    margin-bottom: 18px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.release-history ol {
    display: grid;
    gap: 0;
}

.release-history li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
}

.release-history time {
    display: block;
    margin-bottom: 3px;
    color: var(--gold-deep);
    font-family: var(--mono);
    font-size: .63rem;
}

.release-history p {
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.65;
}

.release-history .text-link {
    margin-top: 20px;
    font-size: .82rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 80px;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 110px;
}

.faq-intro h2 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 3.1vw, 2.9rem);
}

.faq-intro .text-link {
    margin-top: 22px;
    font-size: .85rem;
}

.faq-note {
    margin-top: 12px;
    color: var(--muted-2);
    font-size: .74rem;
}

.faq-list details {
    border-bottom: 1px solid #ddd6c7;
}

.faq-list summary {
    position: relative;
    padding: 22px 42px 22px 0;
    color: var(--text);
    font-family: var(--serif);
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.55;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 4px;
    color: var(--gold-deep);
    font-family: var(--mono);
    font-size: 1.25rem;
    font-weight: 400;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    max-width: 40em;
    padding: 0 40px 22px 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.85;
}

.faq-list code {
    padding: 1px 4px;
    border-radius: 3px;
    background: rgba(18, 21, 28, .06);
    font-family: var(--mono);
    font-size: .82em;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    padding: 76px 0 28px;
    background:
        radial-gradient(600px 320px at 90% 0%, rgba(242, 184, 75, .08), transparent 65%),
        #0b0e14;
    color: #f4efe4;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 60px;
    padding-bottom: 54px;
}

.brand--footer .brand__name {
    font-size: 1.4rem;
}

.footer-brand p {
    margin-top: 18px;
    color: rgba(244, 239, 228, .54);
    font-family: var(--serif);
    font-size: 1.05rem;
}

.footer-version {
    display: inline-block;
    margin-top: 14px;
    color: rgba(244, 239, 228, .3);
    font-family: var(--mono);
    font-size: .64rem;
    letter-spacing: .05em;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.footer-cols h4 {
    margin-bottom: 14px;
    color: rgba(244, 239, 228, .34);
    font-family: var(--mono);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.footer-cols a,
.footer-cols span {
    display: block;
    margin-bottom: 9px;
    color: rgba(244, 239, 228, .64);
    font-size: .82rem;
    line-height: 1.5;
    transition: color .2s ease;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(244, 239, 228, .3);
    font-size: .68rem;
}

/* ==========================================================================
   Dialog
   ========================================================================== */

.layout-dialog {
    width: min(980px, calc(100vw - 40px));
    max-width: 980px;
    max-height: min(92vh, 900px);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 22px;
    background: var(--paper);
    box-shadow: 0 60px 140px rgba(0, 0, 0, .5);
    color: var(--text);
}

.layout-dialog::backdrop {
    background: rgba(6, 8, 12, .74);
    backdrop-filter: blur(7px);
}

.layout-dialog[open] {
    animation: dialog-in .28s cubic-bezier(.2, .7, .2, 1);
}

@keyframes dialog-in {
    from { opacity: 0; transform: translateY(14px) scale(.985); }
    to { opacity: 1; transform: none; }
}

.dialog__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    min-height: 560px;
}

.dialog__preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 38px;
    background:
        radial-gradient(320px 240px at 70% 20%, rgba(242, 184, 75, .12), transparent 70%),
        #10131b;
}

.dialog__preview .card {
    width: 100%;
    max-width: 440px;
    height: auto;
    font-size: clamp(8.8px, 1.08vw, 10.4px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
}

.dialog__copy {
    display: flex;
    flex-direction: column;
    padding: 52px 44px 42px;
}

.dialog__copy .kicker {
    margin-bottom: 12px;
}

.dialog__copy h2 {
    font-family: var(--serif);
    font-size: 2.6rem;
    line-height: 1.15;
}

.dialog__desc {
    margin-top: 16px;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.9;
}

.dialog__points {
    display: grid;
    gap: 9px;
    margin: 22px 0 30px;
}

.dialog__points li {
    position: relative;
    padding-left: 19px;
    color: #4c515b;
    font-size: .84rem;
    line-height: 1.6;
}

.dialog__points li::before {
    content: "";
    position: absolute;
    top: .58em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.dialog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.dialog__close {
    position: absolute;
    z-index: 6;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(18, 21, 28, .10);
    border-radius: 50%;
    background: rgba(255, 253, 248, .86);
    color: #4d5360;
    backdrop-filter: blur(8px);
    transition: background-color .2s ease, color .2s ease;
}

.dialog__close:hover {
    background: #fff;
    color: var(--text);
}

.dialog__close .icon {
    width: 17px;
    height: 17px;
}

/* ==========================================================================
   Reveal / motion
   ========================================================================== */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
    .hero__grid {
        gap: 30px;
    }

    .hero__trust {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .trust-item--wide {
        grid-column: span 2;
    }

    .ghost-card--signal {
        display: none;
    }

    .hero__stage {
        height: 570px;
    }

    .ghost-card--night {
        width: 230px;
        height: 310px;
        right: -2%;
    }

    .ghost-card--signal {
        width: 190px;
        height: 235px;
    }

    .layout-grid {
        gap: 34px 20px;
    }

    .library-grid {
        gap: 46px;
    }

    .install-grid {
        gap: 50px;
    }
}

@media (max-width: 1000px) {
    .nav {
        gap: 20px;
    }

    .nav a:nth-child(4) {
        display: none;
    }

    .hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding-top: 54px;
        padding-bottom: 10px;
    }

    .hero h1 {
        max-width: 12em;
    }

    .hero__stage {
        justify-self: center;
        width: min(100%, 560px);
        height: 600px;
        margin-top: 10px;
    }

    .hero__trust {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 18px;
    }

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

    .layout-tile__card {
        font-size: clamp(8px, 2.1cqw, 10px);
    }

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

    .library-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }

    .library-copy {
        max-width: 620px;
    }

    .library-visual {
        max-width: 760px;
    }

    .install-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }

    .store-card {
        max-width: 480px;
    }

    .release-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .release-history {
        max-width: none;
    }

    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .faq-intro {
        position: static;
    }

    .section-head--split {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .section-head--split .section-lead {
        padding-bottom: 0;
    }
}

@media (max-width: 820px) {
    .nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .section {
        padding: 84px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .steps {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
    }

    .step {
        display: grid;
        grid-template-columns: 210px minmax(0, 1fr);
        align-items: stretch;
    }

    .step__visual {
        height: auto;
        min-height: 210px;
        border-right: 1px solid var(--line-soft);
        border-bottom: 0;
        padding: 20px;
    }

    .step__body {
        padding: 26px;
    }

    .demo-browser {
        max-width: 220px;
        padding: 10px;
    }

    .demo-text {
        font-size: 9.5px;
        margin: 10px 2px 18px;
    }

    .demo-button {
        right: 8px;
        bottom: -12px;
        padding: 6px 9px;
        font-size: 8.5px;
    }

    .stack-card {
        width: 92px;
        height: 118px;
        padding: 10px;
    }

    .stack-card strong {
        font-size: 13px;
    }

    .stack-card--a {
        left: 2%;
    }

    .stack-card--c {
        right: 2%;
    }

    .action-demo {
        max-width: 220px;
        padding: 12px;
    }

    .action-demo__buttons span {
        font-size: 8px;
    }

    .privacy-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin-top: 36px;
    }

    .privacy-item {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 12px;
    }

    .privacy-item__num {
        grid-row: span 2;
        margin: 3px 0 0;
    }

    .privacy-item p {
        margin-top: 5px;
    }

    .privacy-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .footer-cols {
        gap: 24px;
    }

    .dialog__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .dialog__preview {
        padding: 66px 24px 28px;
    }

    .dialog__preview .card {
        max-width: 400px;
        font-size: clamp(8.4px, 2vw, 10px);
    }

    .dialog__copy {
        padding: 32px 26px 30px;
    }

    .dialog__copy h2 {
        font-size: 2.1rem;
    }

    .dialog__points {
        margin-bottom: 22px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(var(--max), calc(100% - 32px));
    }

    .header-inner {
        min-height: 64px;
    }

    .brand__version {
        display: none;
    }

    .header-actions .btn {
        display: none;
    }

    .hero {
        margin-top: -64px;
        padding-top: 64px;
    }

    .hero__grid {
        padding-top: 42px;
    }

    .hero h1 {
        font-size: clamp(2.55rem, 11.2vw, 3.6rem);
    }

    .hero__lead {
        margin-top: 20px;
        font-size: .98rem;
    }

    .hero__actions {
        margin-top: 28px;
    }

    .btn--lg {
        min-height: 2.95em;
        padding: .85em 1.2em;
        font-size: .92rem;
    }

    .hero__stage {
        height: 500px;
        margin-top: 2px;
    }

    .ghost-card {
        display: none;
    }

    .hero-card {
        width: min(310px, 84%);
    }

    .hero-card .card {
        font-size: 8.7px;
    }

    .ghost-card--night {
        top: 8px;
        right: -4%;
        width: 200px;
        height: 270px;
        padding: 18px;
        opacity: .6;
    }

    .ghost-card--signal {
        bottom: 6px;
        left: -3%;
        width: 165px;
        height: 205px;
        padding: 16px;
        opacity: .65;
    }

    .ghost-card__big {
        font-size: 24px;
    }

    .float-chip--top {
        top: 26px;
        left: -2%;
        font-size: .68rem;
    }

    .float-chip--bottom {
        right: -2%;
        bottom: 54px;
        font-size: .68rem;
    }

    .float-chip__icon {
        width: 27px;
        height: 27px;
    }

    .hero__trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding: 24px 0 32px;
    }

    .trust-item strong {
        font-size: 1.15rem;
    }

    .trust-item--wide {
        grid-column: span 2;
    }

    .section {
        padding: 72px 0;
    }

    .section h2 {
        font-size: clamp(1.95rem, 8.5vw, 2.5rem);
    }

    .section-head--split h2 {
        font-size: clamp(1.65rem, 8.2vw, 2.8rem);
    }

    .section-lead {
        font-size: .94rem;
    }

    .step {
        grid-template-columns: minmax(0, 1fr);
    }

    .step__visual {
        min-height: 220px;
        border-right: 0;
        border-bottom: 1px solid var(--line-soft);
    }

    .layout-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .layout-tile__frame {
        padding: 14px;
    }

    .layout-tile__card {
        font-size: clamp(8.5px, 2.5cqw, 10.5px);
        aspect-ratio: 5 / 5.5;
    }

    .layout-tile__meta strong {
        font-size: 1.35rem;
    }

    .layout-footnote {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .library-body {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .library-side {
        display: none;
    }

    .lib-item {
        grid-template-columns: 48px minmax(0, 1fr) 14px;
        gap: 12px;
        padding: 14px;
    }

    .lib-thumb {
        width: 48px;
        height: 62px;
        padding: 6px;
        font-size: .5rem;
    }

    .library-note {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(100%, 280px);
        margin: 16px 0 0 auto;
        padding: 11px 13px;
        transform: rotate(1.5deg);
    }

    .library-stamp {
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: 12px;
    }

    .library-visual {
        padding-bottom: 0;
    }

    .release {
        padding: 26px 22px;
    }

    .release__list li {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
        padding: 16px 0;
    }

    .release__head h3 {
        font-size: 2.3rem;
    }

    .release__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .store-card {
        padding: 22px;
    }

    .store-card__top img {
        width: 60px;
        height: 60px;
    }

    .store-card__screens {
        display: none;
    }

    .footer-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 32px;
    }

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

    .layout-dialog {
        width: calc(100vw - 20px);
        max-height: 94vh;
        border-radius: 18px;
    }

    .dialog__preview {
        padding: 66px 16px 24px;
    }

    .dialog__copy {
        padding: 28px 22px 26px;
    }

    .dialog__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .dialog__actions .btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__notes {
        gap: 8px 16px;
        font-size: .76rem;
    }

    .float-chip--top {
        top: 12px;
        left: -6px;
    }

    .float-chip--bottom {
        right: -6px;
        bottom: 38px;
    }

    .ghost-card--night {
        right: -12%;
    }

    .ghost-card--signal {
        left: -10%;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .float-chip {
        animation: none;
    }

    .hero-card {
        transform: translate(-50%, -50%) rotate(-3deg);
    }
}
