:root {
    color-scheme: light;
    --paper: #f7f8fa;
    --ink: #222b38;
    --muted: #626d7c;
    --line: #dce1e8;
    --accent: #3c55c9;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
::selection { color: #18246b; background: #dce2ff; }
.page-width { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 10px 16px; background: white; transform: translateY(-160%); z-index: 10; }
.skip-link:focus { transform: translateY(0); }
main:focus { outline: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: -0.9px; text-decoration: none; }
.brand-symbol { display: block; width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
nav { display: flex; align-items: center; gap: 32px; font-size: 13px; }
nav a { padding-block: 10px; text-decoration: none; }
nav a:hover { color: var(--accent); }
.contact-nav { margin-left: 15px; }
.contact-nav span { margin-left: 8px; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 48px; padding-block: 54px 56px; }
.overline { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 19px; }
h1 { font-size: clamp(34px, 4vw, 50px); line-height: 1.14; font-weight: 600; letter-spacing: -2px; }
h1 span { color: #747e8d; }
.intro-note { font-size: 14px; line-height: 1.8; color: var(--muted); padding: 0 26px 5px 0; }
.section-caption { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; gap: 16px; }
.section-caption h2 { font-size: 13px; font-weight: 550; }
.section-caption > a { font-size: 12px; color: var(--muted); text-decoration: none; }
.section-caption > a:hover { color: var(--accent); text-decoration: underline; }
.project-grid { display: grid; grid-template-columns: 1.13fr 1fr; gap: 24px; }
.project { min-width: 0; border-radius: 18px; overflow: hidden; position: relative; }
.money { background: #142f48; color: #fff; }
.unburn { background: #eae6f6; color: #332e49; }
.project-info { padding: 30px 32px 0; position: relative; z-index: 2; }
.project-name { display: flex; align-items: center; gap: 13px; }
.app-icon { display: block; border-radius: 12px; flex-shrink: 0; }
.project-type { font-size: 11px; line-height: 1.5; margin-bottom: 2px; }
.money .project-type { color: #b7cedf; }
.unburn .project-type { color: #6b607e; }
h3 { font-size: 26px; line-height: 1.2; letter-spacing: -0.6px; font-weight: 600; }
.project-description { margin-top: 19px; font-size: 15px; line-height: 1.7; }
.money .project-description { color: #c8d9e5; }
.unburn .project-description { color: #615974; }
.project-art { height: 333px; position: relative; overflow: hidden; margin-top: 20px; isolation: isolate; }
.phone { position: absolute; background: #17232d; padding: 6px; border-radius: 21px; box-shadow: 0 18px 30px #0003; line-height: 0; }
.phone img { display: block; width: 100%; height: auto; border-radius: 15px; }
.money-phone { width: 184px; left: 49%; top: 9px; transform: rotate(9deg); transition: transform 250ms ease; }
.orbit { position: absolute; border: 1px solid #a9cde42e; border-radius: 50%; width: 400px; height: 400px; right: -50px; top: 20px; z-index: -1; }
.orbit-two { width: 510px; height: 510px; right: -105px; top: -35px; }
.art-note { position: absolute; font-size: 13px; color: #b7cedf; left: 32px; top: 135px; line-height: 1.7; }
.art-note::before { content: ''; display: block; width: 26px; height: 2px; background: #e9b56b; margin-bottom: 12px; }
.unburn-phone { width: 152px; left: 47%; top: 20px; transform: rotate(8deg); background: #443956; transition: transform 250ms ease; }
.unburn-back { width: 145px; left: 18%; top: 43px; transform: rotate(-10deg); background: #443956; z-index: -1; transition: transform 250ms ease; }
.pause-mark { position: absolute; inset: 20px 0 auto; display: flex; justify-content: center; gap: 36px; z-index: -2; transform: rotate(-12deg); }
.pause-mark span { width: 76px; height: 260px; border-radius: 50px; background: #dbd3ee; }
.project-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 32px 25px; position: relative; z-index: 4; }
.money .project-actions { background: #142f48; border-top: 1px solid #ffffff15; }
.unburn .project-actions { background: #eae6f6; border-top: 1px solid #332e4914; }
.primary-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 26px; border-radius: 7px; padding: 11px 16px; font-size: 13px; font-weight: 600; text-decoration: none; background: white; color: #203b52; transition: background 150ms ease; }
.unburn .primary-link { color: white; background: #514476; }
.primary-link:hover { background: #e1eaf1; }
.unburn .primary-link:hover { background: #40335f; }
.secondary-link { color: #d2e2ec; font-size: 12px; text-decoration: none; }
.secondary-link:hover { text-decoration: underline; }
.platform { color: #6b607e; font-size: 12px; }
.money a:focus-visible { outline-color: #f4c781; }
.elsewhere { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; padding-block: 62px 52px; }
.elsewhere h2 { font-size: 19px; letter-spacing: -0.4px; font-weight: 550; }
.elsewhere-intro p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.link-list > a, summary { display: grid; grid-template-columns: 1fr 1.5fr 14px; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 13px; cursor: pointer; }
.link-list > a:first-child { padding-top: 0; }
.link-list > a:hover, summary:hover { color: var(--accent); }
.link-description { font-size: 12px; color: var(--muted); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.expand-mark { font-size: 18px; line-height: 1; }
details[open] .expand-mark { transform: rotate(45deg); }
.book-links { display: grid; gap: 13px; padding: 18px 0; font-size: 12px; }
.book-links a { color: var(--muted); }
.book-links a:hover { color: var(--accent); }
footer { border-top: 1px solid var(--line); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; }
.footer-title { color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.email { font-size: 20px; letter-spacing: -0.4px; text-decoration: none; }
.email span { color: var(--accent); margin-left: 7px; }
.email:hover { color: var(--accent); }
.telegram { font-size: 12px; color: var(--muted); text-decoration: none; }
.telegram:hover { color: var(--accent); text-decoration: underline; }
.colophon { display: flex; justify-content: space-between; gap: 20px; font-size: 10px; color: var(--muted); padding-block: 12px 24px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .project:hover .money-phone { transform: translateY(-5px) rotate(6deg); }
    .project:hover .unburn-phone { transform: translateY(-5px) rotate(5deg); }
    .project:hover .unburn-back { transform: translate(-4px, -2px) rotate(-13deg); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media (max-width: 1000px) {
    .page-width { width: calc(100% - 48px); }
    .project-grid { gap: 18px; grid-template-columns: 1fr 1fr; }
    .project-info { padding: 26px 24px 0; }
    .project-actions { padding: 20px 24px; gap: 12px; }
    .project-description { font-size: 14px; min-height: 72px; }
    .desktop-break { display: none; }
    .art-note { display: none; }
    .money-phone { left: calc(50% - 92px); }
    .unburn-back { left: calc(50% - 120px); }
    .unburn-phone { left: calc(50% - 20px); }
    .primary-link { padding: 10px 13px; gap: 15px; }
    .elsewhere { gap: 40px; }
}
@media (max-width: 700px) {
    .page-width { width: calc(100% - 40px); }
    .site-header { padding-block: 22px; }
    .brand { font-size: 20px; }
    nav { gap: 18px; font-size: 12px; }
    .contact-nav { margin-left: 0; }
    .contact-nav span { margin-left: 3px; }
    .intro { display: block; padding-block: 32px 36px; }
    h1 { font-size: 38px; letter-spacing: -1.5px; }
    .overline { font-size: 10px; margin-bottom: 15px; }
    .intro-note { margin-top: 20px; font-size: 12px; padding: 0; }
    .intro-note br { display: none; }
    .project-grid { grid-template-columns: 1fr; gap: 22px; }
    .project-description { min-height: 0; font-size: 15px; }
    .project-art { height: 322px; margin-top: 22px; }
    .money-phone { left: 48%; }
    .art-note { display: block; left: 24px; font-size: 12px; }
    .project-actions { padding-block: 19px; }
    .unburn-back { left: calc(50% - 120px); }
    .unburn-phone { left: calc(50% - 15px); }
    .elsewhere { grid-template-columns: 1fr; gap: 25px; padding-block: 38px; }
    .elsewhere h2 { font-size: 18px; }
    .link-list > a, summary { grid-template-columns: 1fr 1.5fr 14px; }
    .footer-main { align-items: start; flex-direction: column; gap: 18px; }
}
@media (max-width: 390px) {
    nav { gap: 14px; }
    nav > a:first-child { display: none; }
    h1 { font-size: 33px; }
    .money-phone { left: calc(50% - 72px); }
    .art-note { display: none; }
    .project-actions { padding-inline: 20px; }
    .primary-link { gap: 14px; }
    .secondary-link { font-size: 11px; }
    .link-description { font-size: 11px; }
}
