@font-face{font-family:Geologica;src:url('assets/Geologica-Regular.woff') format('woff');font-weight:400;font-display:swap}
@font-face{font-family:Geologica;src:url('assets/Geologica-Medium.woff') format('woff');font-weight:500 800;font-display:swap}
@font-face{font-family:Neris;src:url('assets/Neris-Black.woff') format('woff');font-weight:900;font-display:swap}
@font-face{font-family:Neris;src:url('assets/Neris-SemiBold.woff') format('woff');font-weight:600;font-display:swap}
:root{--ink:#07053c;--pink:#c85ca7;--turquoise:#44afb5;--action:#237c82;--muted:#526579;--line:#cddfe1;--paper:#f6fafa;--ease:cubic-bezier(.2,.7,.2,1);font-synthesis:none}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:28px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Geologica,Arial,sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
body:has(dialog[open]){overflow:hidden}
button,input,select{font:inherit;color:inherit}
a{color:inherit;text-decoration:none}
button{cursor:pointer;border:0}
button,a,input,select{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button:disabled{cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--ink);outline-offset:5px}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:Neris,Arial,sans-serif;font-weight:900;line-height:1.1}
em{font:inherit;color:var(--pink)}
img{max-width:100%;display:block}
::selection{background:#efd4e7;color:var(--ink)}
[hidden]{display:none!important}
.demo-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:30px;padding:5px max(28px,calc((100% - 1360px)/2));font-size:11px;line-height:1.5;background:#e5f0f1;color:#415e6b}
.demo-controls{display:flex;align-items:center;gap:24px}.edition{font-size:10px;letter-spacing:.06em}.demo-reset{font-size:11px;background:none;padding:3px 0;text-decoration:underline;text-underline-offset:3px;color:#415e6b}
.site-header{height:88px;max-width:1360px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid #b7d3d6;position:relative;z-index:5}
.brand{display:flex;align-items:center;gap:18px;flex:none}.brand img{width:108px;height:63px;object-fit:contain}.brand-caption{display:none}
.desktop-nav{display:flex;align-items:center;gap:30px;font-family:Neris,Arial,sans-serif;font-weight:900;font-size:14px;text-transform:uppercase}
.desktop-nav a{padding:12px 0}.desktop-nav a:hover{color:#9b337d}
.button{display:inline-flex;align-items:center;justify-content:flex-start;gap:4px;padding:0;background:transparent;color:white;font-family:Neris,Arial,sans-serif;font-size:14px;font-weight:900;text-transform:uppercase;line-height:1.3;vertical-align:middle}
.button-label{display:flex;align-items:center;justify-content:center;min-height:54px;padding:16px 28px;background:var(--action);border-radius:40px;transition:background .2s}
.button-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;flex:0 0 54px;background:var(--action);border-radius:50%;transition:background .2s,transform .2s}
.button-icon img{width:24px;height:24px;filter:brightness(0) invert(1)}
.button:hover .button-label,.button:hover .button-icon{background:#17646e}.button:hover .button-icon{transform:rotate(6deg)}
.button:disabled{opacity:.5}.header-button .button-label{min-height:44px;padding:12px 22px}.header-button .button-icon{width:44px;height:44px;flex-basis:44px}.header-button{font-size:12px}
.menu-toggle{display:none;background:none;width:44px;height:44px;padding:10px}.menu-toggle img{width:24px;height:24px}
/* Единый акварельный фон и типографика взяты из визуального языка фонда. */
.hero:before{content:'';position:absolute;top:-88px;left:calc((100% - 100vw)/2);right:calc((100% - 100vw)/2);bottom:0;background:url('assets/brand-background.jpg') center top/cover no-repeat;z-index:-1;border-radius:0 0 28px 28px}
.hero{position:relative;isolation:isolate;max-width:1360px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'intro tree' 'fund tree';column-gap:60px;row-gap:26px;padding:38px 0 48px;align-items:center}
.hero-copy{grid-area:intro;align-self:end;max-width:550px}
.eyebrow{font-size:11px;font-weight:500;letter-spacing:.08em;line-height:1.5;text-transform:uppercase}
.hero h1{font-size:clamp(64px,5.25vw,76px);line-height:1.02;letter-spacing:-.018em;margin:20px 0 22px}.hero h1 em{display:block}
.hero-lead{font-size:24px;line-height:1.35;font-weight:500;margin-bottom:16px}.hero-description{font-size:16px;line-height:1.6;max-width:450px;color:#35485e}
.hero-summary{grid-area:fund;align-self:start;max-width:450px;min-width:0}.summary-heading{font-size:14px;font-weight:500;margin-bottom:9px}.total-line{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:12px}.total-numbers{font-family:Neris,Arial,sans-serif;font-weight:900;font-size:36px;line-height:1.1;white-space:nowrap}.total-numbers strong{font-weight:900}.total-target{font-size:14px;white-space:nowrap;color:var(--muted)}
.progress-track{height:5px;background:#d6e6e8;overflow:hidden;border-radius:4px}.progress-track>div{width:0;height:100%;border-radius:4px;background:var(--action);transition:width .7s var(--ease)}
.total-track{height:7px;background:#c2dadd}.total-track>div{background:var(--action)}.progress-bottom{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-top:8px;color:#3f5d6b}.progress-bottom strong{font-weight:500;flex:none}
.hero-summary .button{margin-top:23px}.hero-details{display:inline-block;margin:14px 0 0;font-size:12px;border-bottom:1px solid #658b91;padding-bottom:2px}.hero-details:hover{color:#9b337d}
.tree-stage{grid-area:tree;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;scroll-margin:24px}
.tree-canvas{height:clamp(360px,calc(100svh - 220px),560px);aspect-ratio:2/3;max-width:100%;position:relative;flex:none}
.tree-image{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;pointer-events:none}.tree-hotspots{position:absolute;inset:0}
.tree-point{position:absolute;transform:translate(-50%,-50%);background:none;width:23%;height:auto;aspect-ratio:1;min-width:44px;min-height:44px;padding:0;isolation:isolate;z-index:1;border-radius:12px}
.tree-point:hover,.tree-point:focus-visible{z-index:4}.tree-point .ornament{width:122%;height:122%;left:-11%;top:-11%;opacity:.94;transition:transform .2s var(--ease),opacity .35s var(--ease)}
.tree-point:hover .ornament,.tree-point:focus-visible .ornament{transform:rotate(-5deg) scale(1.1)}
.ornament{display:block;position:relative;aspect-ratio:1;isolation:isolate}.ornament img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.ornament-blank{filter:saturate(.62) brightness(.98);opacity:.5}.ornament-colour{position:absolute;inset:0;display:block;-webkit-mask-image:linear-gradient(to bottom,transparent var(--fill-y),#000 calc(var(--fill-y) + 2%));mask-image:linear-gradient(to bottom,transparent var(--fill-y),#000 calc(var(--fill-y) + 2%));transition:clip-path .8s var(--ease),--fill-y .8s var(--ease)}
.point-progress{display:none}.point-label{position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(3px);font-size:11px;font-weight:400;line-height:1.45;background:#edf3ed;color:#405d59;padding:7px 12px;border:1px solid #d5e3dc;border-radius:12px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .18s;box-shadow:0 4px 12px #223e3310}.tree-point:hover .point-label,.tree-point:focus-visible .point-label{opacity:1}
.tree-selection{font-size:12px;text-align:center;margin-top:8px;color:#294c5c}
.tree-point.celebrate .ornament{animation:celebrate .65s var(--ease) 2}
.section{max-width:1280px;margin:auto}.wishes{padding:64px 0 56px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:34px}.section-heading .eyebrow{color:#425c70}.section h2{font-size:48px;line-height:1.1;letter-spacing:-.012em;margin-top:13px;text-transform:uppercase}.section-aside{font-size:15px;line-height:1.7;color:var(--muted);max-width:440px}.demo-label{display:inline-block;padding:3px 10px;border-radius:30px;background:#e6f1f2;color:#385a67;font-size:11px;white-space:nowrap}.section-aside .demo-label{display:none}
.wish-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:60px}.wish-card{display:grid;grid-template-columns:108px minmax(0,1fr);gap:22px;padding:24px 0;background:transparent;border-top:1px solid var(--line);text-align:left;min-width:0;transition:background .2s}.wish-card:hover{background:#eaf4f4}.card-art{position:relative;display:grid;place-items:center;width:108px;height:122px}.card-art .ornament{width:120px;height:120px}.card-art .ornament-blank{filter:none;opacity:1}.card-art .ornament-colour{display:none}.card-index{position:absolute;left:0;top:0;color:#526d7b;font-size:11px}.card-arrow{position:absolute;right:0;top:0}.card-arrow img{width:24px;height:24px}.card-content{min-width:0;padding-top:2px}.card-content h3{font-size:25px;line-height:1.2;margin-bottom:6px}.card-content>p{font-size:14px;color:var(--muted);margin-bottom:18px}.card-values{display:flex;align-items:baseline;justify-content:space-between;gap:6px;flex-wrap:wrap;font-size:15px;margin-bottom:9px}.card-values strong{font-weight:500}.card-values>span{font-size:12px;color:var(--muted)}.card-percent{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted);margin-top:6px}.card-percent span:last-child{color:#286b72}.wish-card.complete .progress-track>div{background:var(--action)}
.story{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:90px;align-items:center;border-top:1px solid var(--line);padding:68px 0 76px}
.story-statement{align-self:stretch;display:flex;flex-direction:column;justify-content:center;background:url('assets/brand-background.jpg') center/cover;padding:38px 40px;border-radius:0 38px 0 38px}.story-statement>p{font-family:Neris,Arial,sans-serif;font-weight:900;font-size:34px;line-height:1.1;margin:24px 0 28px}.story-statement strong{font-size:108px;font-weight:900;color:var(--pink);line-height:1}.story-statement .text-button{font-size:12px}.story .eyebrow{color:#425c70}.story-copy h2{font-size:44px;line-height:1.1;margin:14px 0 23px}.story-copy>p{font-size:16px;line-height:1.7;color:#3f5369;margin-bottom:16px;max-width:600px}.story-copy .story-end{color:var(--ink);font-weight:500}.text-button{display:inline-flex;align-items:center;gap:12px;font-family:Neris,Arial,sans-serif;font-weight:900;text-transform:uppercase;font-size:14px;line-height:1.4;background:none;border-bottom:1px solid #729ca4;padding:0 0 8px}.text-button img{width:24px;height:24px}.text-button:hover{color:#963578}.story-copy .text-button{margin-top:10px}
.how{border-top:1px solid var(--line);padding:58px 0 70px}.how h2{font-size:44px}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px;margin-top:36px}.steps article{border-top:1px solid var(--line);padding-top:20px}.step-number{display:block;font-family:Neris,Arial,sans-serif;font-weight:900;font-size:36px;line-height:1;color:var(--pink);margin-bottom:16px}.steps h3{font-size:24px;line-height:1.2;margin-bottom:12px}.steps p{font-size:15px;line-height:1.7;color:var(--muted)}
.closing{max-width:1360px;margin:auto;background:#e7f2f2;display:flex;align-items:center;justify-content:space-between;gap:40px;padding:44px 40px;border-top:1px solid #b8d7da;border-radius:0 32px 0 32px}.closing h2{font-size:39px;line-height:1.15}.closing .button{flex:none}
footer{max-width:1280px;margin:auto;display:flex;align-items:center;flex-wrap:wrap;gap:20px 40px;padding:36px 0 24px;font-size:12px;color:var(--muted)}.footer-brand{font-family:Neris,Arial,sans-serif;font-weight:900;font-size:20px;color:var(--ink);margin-right:auto}.footer-brand span{display:block;font-family:Geologica,Arial,sans-serif;font-size:11px;font-weight:400;color:var(--muted)}footer>a:not(.footer-brand){text-decoration:underline;text-underline-offset:4px}.footer-demo{flex-basis:100%;font-size:11px;border-top:1px solid var(--line);padding-top:18px}
/* Форма демонстрационного взноса. */
dialog{width:540px;max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:22px;background:white;color:var(--ink);box-shadow:0 24px 100px #07053c40;overflow:auto}dialog::backdrop{background:#07053c80;backdrop-filter:blur(4px)}.modal-body{padding:28px 36px 26px;position:relative}.modal-close{position:absolute;top:10px;right:10px;width:44px;height:44px;padding:10px;border-radius:50%;background:none}.modal-close:hover{background:#e6f1f2}.modal-topline{display:flex;align-items:center;gap:10px;padding-right:30px}.modal-topline .eyebrow{font-size:11px}.modal-icon{display:grid;place-items:center;height:112px;margin-top:12px}.modal-icon .ornament{width:124px;height:124px}dialog h2{text-align:center;font-size:36px;line-height:1.1;margin:14px 0}.modal-description{font-size:14px;line-height:1.65;text-align:center;color:#4b5f73}.modal-progress{margin:23px 0}.modal-progress>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;font-size:14px;margin-bottom:10px}.modal-progress strong{font-weight:500}.modal-progress span{font-size:12px;color:var(--muted)}.goal-complete-note{font-size:15px;text-align:center;padding:24px 0}.goal-complete-note .text-button{margin-top:20px}
fieldset{border:0;padding:0;margin:0}legend{font-size:15px;padding:0;margin-bottom:12px}.amount-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.amount-options button{border:1px solid #bfd6da;background:white;font-size:14px;border-radius:28px;padding:12px 3px;min-height:46px;white-space:nowrap}.amount-options button:hover{border-color:var(--action)}.amount-options .selected{background:var(--action);color:white;border-color:var(--action)}.amount-options button:disabled{opacity:.4}
.custom-amount{display:block;position:relative;font-size:12px;color:var(--muted);margin-top:16px}.custom-amount input{display:block;width:100%;margin-top:6px;border:1px solid #bfd6da;border-radius:8px;padding:13px 32px 13px 14px;font-size:15px;background:white}.custom-amount input:focus{border-color:var(--action)}.custom-amount>span{position:absolute;right:15px;bottom:14px;font-size:15px}.direction-choice{display:block;font-size:14px;margin:20px 0}.direction-choice select{display:block;width:100%;min-height:48px;margin-top:8px;border:1px solid #bfd6da;border-radius:8px;background:white;padding:10px}.remaining-note{font-size:12px;color:var(--muted);margin-top:12px}.amount-error{font-size:13px;line-height:1.5;color:#ac2358;margin-top:10px}.custom-amount input[aria-invalid=true]{border-color:#ac2358}.modal-submit{display:flex;width:100%;margin-top:20px;font-size:14px}.modal-submit .button-label{flex:1;padding-left:14px;padding-right:14px}.payment-note{font-size:12px;line-height:1.6;color:#526579;text-align:center;margin-top:14px}.success-body{padding:36px;text-align:center}.success-star{width:100px;height:100px;object-fit:contain;margin:0 auto 16px}.success-body .eyebrow{font-size:11px}.success-body h2{font-size:44px;margin:18px 0}.success-body>p:not(.payment-note){font-size:15px;line-height:1.7;color:var(--muted)}.success-close{width:100%;margin-top:24px}.success-close .button-label{flex:1}
.toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,16px);opacity:0;pointer-events:none;padding:12px 22px;max-width:calc(100% - 32px);width:max-content;border-radius:25px;background:var(--ink);color:white;font-size:13px;z-index:20;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes celebrate{50%{transform:scale(1.15) rotate(-7deg)}}
@media(max-width:1439px){.site-header,.hero,.closing{margin-left:28px;margin-right:28px}.section,footer{margin-left:48px;margin-right:48px}.hero{column-gap:40px}.hero h1{font-size:76px}.hero-lead{font-size:22px}}
@media(min-width:901px) and (max-height:740px){.hero{padding-top:24px;row-gap:18px;padding-bottom:34px}.hero h1{font-size:66px;margin:12px 0 16px}.hero-lead{font-size:20px;margin-bottom:10px}.hero-description{font-size:15px}.summary-heading{font-size:13px}.total-numbers{font-size:32px}.hero-summary .button{margin-top:18px}.hero-details{display:block;width:max-content;margin-top:10px}.tree-canvas{height:clamp(360px,calc(100svh - 170px),550px)}}
@media(max-width:1100px){.hero{column-gap:20px}.hero h1{font-size:68px}.hero-description{max-width:380px}.desktop-nav{gap:20px;font-size:12px}.header-button .button-label{padding-left:16px;padding-right:16px}.hero-lead{font-size:21px}.wish-grid{column-gap:32px}.card-content h3{font-size:23px}.story{column-gap:45px}.story-statement{padding:30px}.section h2{font-size:42px}.closing h2{font-size:34px}.steps{gap:26px}.steps h3{font-size:22px}}
@media(max-width:900px){.hero:before{top:-76px;background-size:auto 100%;background-position:center top}.site-header{height:76px;margin:0 24px}.brand img{width:96px;height:58px}.header-button{margin-left:auto}.desktop-nav{display:none;position:absolute;top:calc(100% - 1px);left:-24px;right:-24px;padding:15px 24px 24px;background:#f6fafa;border-bottom:1px solid var(--line);font-size:14px;box-shadow:0 8px 12px #07053c08}.desktop-nav.open{display:flex;flex-direction:column;align-items:stretch;gap:3px}.desktop-nav a{padding:12px 0}.menu-toggle{display:block}.hero{margin:0 32px;grid-template-columns:1fr;grid-template-areas:'intro' 'tree' 'fund';row-gap:17px;padding:28px 0 36px}.hero-copy{max-width:620px;align-self:auto}.hero h1{font-size:58px;line-height:1.05;letter-spacing:-.02em;margin:12px 0 14px}.hero h1 em{display:inline}.hero-lead{font-size:20px;margin-bottom:10px}.hero-lead br{display:none}.hero-description{font-size:15px;line-height:1.6;max-width:600px}.tree-canvas{height:clamp(340px,48svh,470px)}.tree-stage{margin-top:-3px}.tree-selection{font-size:12px;margin-top:3px}.hero-summary{width:100%;max-width:none;padding-top:4px}.summary-heading{font-size:14px}.total-line{justify-content:space-between;margin-bottom:10px}.total-numbers{font-size:34px}.hero-summary .button{margin-top:18px}.hero-details{margin-left:16px;font-size:12px}.wishes{padding-top:44px;padding-bottom:38px}.section,footer{margin-left:32px;margin-right:32px}.section-heading{display:block;margin-bottom:26px}.section h2{font-size:40px}.section-aside{font-size:14px;max-width:none;margin-top:18px}.section-aside br{display:none}.wish-grid{grid-template-columns:1fr}.wish-card{grid-template-columns:98px minmax(0,1fr);gap:20px;padding:20px 0}.card-art{width:98px;height:112px}.card-art .ornament{width:112px;height:112px}.card-content h3{font-size:24px}.card-content>p{font-size:14px;margin-bottom:15px}.card-values{font-size:15px}.card-values>span{font-size:12px}.story{column-gap:30px;padding:45px 0}.story-copy h2{font-size:34px}.story-copy>p{font-size:14px}.story-statement{padding:26px 24px}.story-statement>p{font-size:26px}.story-statement strong{font-size:92px}.story-statement .eyebrow{font-size:10px}.story-statement .text-button{font-size:11px}.how{padding:40px 0 46px}.how h2{font-size:38px}.steps{grid-template-columns:1fr;gap:24px}.steps article{display:flex;gap:24px;padding-top:20px}.step-number{min-width:45px;margin:0;font-size:34px}.steps h3{font-size:24px}.steps p{font-size:14px;max-width:580px}.closing{margin:0 24px;padding:32px;display:block}.closing h2{font-size:34px;max-width:580px}.closing .button{margin-top:24px}footer{padding-top:28px}}
@media(max-width:540px){.hero:before{top:-70px}.demo-strip{min-height:38px;padding:7px 16px;font-size:10px;gap:12px}.demo-strip>span:first-child{max-width:240px}.edition{display:none}.demo-reset{font-size:10px;white-space:nowrap}.site-header{height:70px;margin:0 20px;gap:12px}.brand img{width:92px;height:54px}.header-button{display:none}.menu-toggle{margin-left:auto}.desktop-nav{left:-20px;right:-20px;padding-left:20px;padding-right:20px}.hero{margin:0 24px;row-gap:16px;padding-top:23px;padding-bottom:30px}.eyebrow{font-size:10px}.hero h1{font-size:48px;margin:10px 0 12px;max-width:380px}.hero h1 em{display:block}.hero-lead{font-size:18px;line-height:1.4;margin-bottom:9px}.hero-description{font-size:14px;line-height:1.55}.tree-canvas{height:clamp(315px,43svh,390px)}.tree-selection{font-size:11px}.total-numbers{font-size:31px}.total-target{font-size:12px}.summary-heading{font-size:13px}.progress-bottom{font-size:10px}.hero-summary .button{width:100%;font-size:14px}.hero-summary .button-label{flex:1}.hero-details{display:block;width:max-content;margin:14px auto 0}.section,footer{margin-left:24px;margin-right:24px}.wishes{padding-top:36px;padding-bottom:32px}.section h2{font-size:34px}.section-heading .eyebrow{font-size:10px}.section-aside{font-size:14px;margin-top:15px}.wish-card{grid-template-columns:84px minmax(0,1fr);gap:16px;padding:18px 0}.card-art{width:84px;height:106px}.card-art .ornament{width:98px;height:98px}.card-index{font-size:10px}.card-arrow{right:-2px}.card-arrow img{width:22px;height:22px}.card-content h3{font-size:22px;line-height:1.15;margin-bottom:7px}.card-content>p{font-size:12px;line-height:1.55;margin-bottom:14px}.card-values{font-size:14px;display:block}.card-values>span{display:block;font-size:11px;margin-top:2px}.card-percent{font-size:10px}.story{grid-template-columns:1fr;gap:30px;padding:34px 0 40px}.story-statement{order:2;padding:26px 28px;min-height:220px}.story-statement>p{font-size:28px;margin:16px 0 24px}.story-statement strong{font-size:78px}.story-copy h2{font-size:34px}.story-copy>p{font-size:14px;line-height:1.7}.story-copy .text-button{font-size:12px}.how{padding:34px 0 40px}.how h2{font-size:34px}.steps{margin-top:26px;gap:22px}.steps article{gap:16px}.step-number{font-size:31px;min-width:35px}.steps h3{font-size:22px}.steps p{font-size:13px}.closing{margin:0 12px;padding:28px 24px}.closing h2{font-size:30px}.closing .button{width:100%;font-size:12px}.closing .button-label{flex:1;padding:16px}.closing .button-icon{flex-basis:54px}footer{font-size:11px;gap:18px 22px}.footer-brand{flex-basis:100%}.footer-demo{font-size:10px}.modal-body{padding:25px 22px 24px}.modal-topline{gap:8px}.modal-topline .eyebrow{font-size:10px}dialog h2{font-size:31px}.modal-icon{height:94px}.modal-icon .ornament{width:110px;height:110px}.modal-description{font-size:13px}.modal-progress{margin:20px 0}.amount-options{gap:6px}.amount-options button{font-size:12px;padding:12px 2px}.modal-submit{font-size:12px}.modal-submit .button-label{padding:15px 10px}.modal-submit .button-icon{width:50px;height:50px;flex-basis:50px}.payment-note{font-size:11px}.success-body{padding:30px 24px}.success-body h2{font-size:37px}.success-body>p:not(.payment-note){font-size:14px}.success-close{font-size:12px}.success-close .button-label{padding:16px 10px}.toast{font-size:12px;text-align:center}}
@media(max-width:360px){.hero{margin-left:20px;margin-right:20px}.hero h1{font-size:44px}.tree-canvas{height:310px}.total-line{gap:4px}.total-numbers{font-size:28px}.card-content h3{font-size:20px}.wish-card{grid-template-columns:76px minmax(0,1fr);gap:12px}.card-art{width:76px}.card-art .ornament{width:88px;height:88px}.section h2{font-size:31px}.modal-body{padding-left:18px;padding-right:18px}.amount-options button{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
.direction-picker{margin-top:24px;border-top:1px solid var(--line)}.direction-option{display:flex;align-items:center;gap:14px;min-height:76px;width:100%;padding:7px 0;border-bottom:1px solid var(--line);background:none;text-align:left}.direction-option:hover{background:#edf6f6}.direction-option>img:first-child{width:64px;height:64px;object-fit:contain;flex:none}.direction-option>span{flex:1;min-width:0}.direction-option strong{display:block;font-family:Neris,Arial,sans-serif;font-size:22px;line-height:1.1;font-weight:900}.direction-option small{display:block;font-size:12px;color:var(--muted);margin-top:5px;line-height:1.4}.direction-option .direction-arrow{height:24px;width:24px;flex:none}.mode-choose .modal-icon{display:none}.mode-choose h2{font-size:32px;margin-top:30px}.mode-choose .modal-description{font-size:14px}.mode-choose .modal-body{padding-bottom:20px}.mode-choose .direction-option strong{font-size:21px}
@media(max-width:540px){.direction-option{gap:10px;min-height:70px}.direction-option>img:first-child{width:54px;height:54px}.mode-choose h2{font-size:28px}.direction-option small{font-size:11px}.mode-choose .direction-option strong{font-size:20px}}
/* Для боковой панели — самостоятельная композиция, а не длинная колонка. */
@media(min-width:541px) and (max-width:900px){.hero{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-areas:'intro intro' 'tree fund';column-gap:24px;row-gap:24px;padding-bottom:34px}.hero-copy{max-width:none}.hero h1{font-size:56px}.tree-stage{margin:0;align-self:center}.tree-canvas{height:clamp(330px,48svh,440px);max-height:calc((100vw - 88px)*.525*1.5)}.tree-selection{font-size:11px;max-width:210px}.hero-summary{align-self:center;padding:0}.summary-heading{font-size:13px;line-height:1.5}.total-line{display:block}.total-numbers{font-size:32px}.total-target{margin-top:6px;font-size:12px}.progress-bottom{font-size:10px}.progress-bottom>span{max-width:140px}.hero-summary .button{width:100%;font-size:12px;gap:3px}.hero-summary .button-label{flex:1;min-height:48px;padding:13px 10px}.hero-summary .button-icon{width:48px;height:48px;flex-basis:48px}.hero-details{display:block;width:max-content;max-width:100%;font-size:11px;margin:14px 0 0;line-height:1.5}}
@media(max-width:540px){.hero h1{font-size:clamp(34px,10.8vw,48px);letter-spacing:-.025em}.hero h1 em{display:inline}.hero-lead{display:none}.tree-canvas{height:clamp(300px,40svh,350px)}.hero{row-gap:14px}.hero-summary{padding-top:0}}
button,img,.success-body{-webkit-user-select:none;user-select:none}
@media(min-width:1180px) and (max-height:740px){.hero h1{font-size:62px;line-height:1.02}.hero h1 em{display:inline}.hero-lead{font-size:18px;line-height:1.4}.hero-lead br{display:none}.hero-copy{max-width:none}.tree-canvas{height:clamp(340px,calc(100svh - 190px),550px)}.hero-details{display:inline-block;width:auto;margin:12px 0 0 14px}.hero{row-gap:20px}.hero-summary{max-width:460px}}
.desktop-nav{order:1}.header-button{order:2}.menu-toggle{order:3}
@media(max-width:540px){.site-header{height:64px}.hero:before{top:-64px}.hero{padding-top:18px;row-gap:10px}.hero h1{margin-top:8px;margin-bottom:10px}.hero-description{line-height:1.5}.tree-selection{font-size:10.5px;line-height:1.4}.summary-heading{margin-bottom:7px}.hero-summary .progress-bottom{margin-top:6px}.hero-summary .button{margin-top:16px}.hero-summary .button-label{min-height:48px;padding-top:13px;padding-bottom:13px}.hero-summary .button-icon{height:48px;width:48px;flex-basis:48px}}
@media(max-width:540px){.hero{padding-top:14px;row-gap:8px}.tree-canvas{height:clamp(300px,calc(40svh - 8px),350px)}}

.tree-point:focus-visible{outline:2px solid var(--ink);outline-offset:4px;box-shadow:0 0 0 4px white}
.tree-point:focus-visible .point-label{transition:none}.tree-hotspots:has(.tree-point:focus-visible) .tree-point:not(:focus-visible) .point-label{opacity:0;transition:none}

/* Мягкое наполнение сохраняет собственный цвет игрушки. */
@property --fill-y{syntax:'<percentage>';inherits:false;initial-value:100%}
/* Карточки сборов: акварельная подложка и геометрия оригинального фонда. */
.wish-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:24px 20px}
.wish-card{grid-column:span 2;display:flex;flex-direction:column;gap:0;padding:0;border:0;border-radius:24px;overflow:hidden;background:#e9f4f3;transition:transform .2s,box-shadow .2s}
.wish-card:nth-child(5){grid-column:2/span 2}.wish-card:nth-child(6){grid-column:4/span 2}.wish-card:nth-child(7){grid-column:6/span 2}
.wish-card:hover{transform:translateY(-3px);background:#e9f4f3;box-shadow:0 8px 24px #07053c12}
.card-art{width:100%;height:216px;flex:none;background:#eef6f7;overflow:hidden}
.card-art .ornament{width:226px;height:226px;max-width:94%}
.card-art .ornament-blank{filter:none;opacity:1}
.card-content{display:flex;flex-direction:column;flex:1;width:100%;padding:24px;background:url('assets/brand-background.jpg') center/cover}
.card-content h3{font-size:21px;line-height:1.25;text-transform:uppercase;margin-bottom:8px;min-height:0}
.card-content>p{font-size:13px;line-height:1.6;min-height:0;color:#3f5369;margin:0 0 20px}
.card-bottom{margin-top:auto}.card-progress{position:relative;margin:0 0 14px;padding:7px 0}
.card-progress .progress-track{height:7px;background:#fff}.card-progress .progress-track>div{background:var(--action)}
.card-percent{position:absolute;top:50%;left:26px;transform:translate(-50%,-50%);display:grid;place-items:center;width:52px;min-height:28px;margin:0;padding:4px 7px;border-radius:24px;background:var(--action);transition:left .7s var(--ease)}
.card-percent>span:first-child{display:none}.card-percent>span:last-child{color:#fff;font-size:12px;line-height:1.4}
.card-values{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:nowrap;gap:8px;margin:0;font-family:Neris,Arial,sans-serif;font-size:17px;line-height:1.3;white-space:nowrap}
.card-values strong{font-weight:900}.card-values>span{display:inline;margin:0;font-size:17px;color:#195b65;font-weight:900}
.card-value-labels{display:flex;justify-content:space-between;gap:8px;margin-top:3px;color:#3f5369;font-size:12px;line-height:1.5}
.card-cta{display:flex;gap:3px;margin-top:18px;font-family:Neris,Arial,sans-serif;font-size:13px;line-height:1.3;font-weight:900;text-transform:uppercase;color:#fff}
.card-cta>span{display:flex;align-items:center;justify-content:center;background:#ad3e8b;min-height:44px;transition:background .2s}
.card-cta>span:first-child{flex:1;min-width:0;padding:11px 7px;border-radius:28px}
.card-cta>span:last-child{width:44px;height:44px;flex:0 0 44px;border-radius:50%}
.card-cta img{width:24px;height:24px;filter:brightness(0) invert(1)}
.wish-card:hover .card-cta>span{background:#963574}.wish-card.complete .card-cta>span{background:var(--action)}
@media(min-width:541px) and (max-width:1179px){.wish-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.wish-card:nth-child(n){grid-column:auto}.wish-card:last-child{grid-column:1/-1;width:calc((100% - 20px)/2);justify-self:center}.card-art{height:230px}.card-art .ornament{width:242px;height:242px}.card-content{padding:24px}.card-content h3{font-size:23px;min-height:0}}
@media(min-width:541px) and (max-width:680px){.card-content{padding:20px}.card-content h3{font-size:20px;min-height:0}.card-content>p{font-size:12px;min-height:0}.card-art{height:206px}.card-art .ornament{width:220px;height:220px}.card-values,.card-values>span{font-size:16px}.card-cta{font-size:12px}}
@media(max-width:540px){.wish-grid{grid-template-columns:1fr;gap:22px}.wish-card:nth-child(n){grid-column:auto;width:100%;max-width:none}.card-art{height:238px}.card-art .ornament{width:250px;height:250px}.card-content{padding:24px}.card-content h3{font-size:24px;min-height:0;margin-bottom:9px}.card-content>p{font-size:14px;min-height:0;margin-bottom:24px}.card-values,.card-values>span{font-size:18px}.card-value-labels{font-size:12px}.card-cta{font-size:14px;margin-top:18px}.card-cta>span{min-height:48px}.card-cta>span:last-child{width:48px;height:48px;flex-basis:48px}}
@media(max-width:360px){.card-content{padding:22px}.card-content h3{font-size:22px}.card-art{height:220px}.card-art .ornament{width:236px;height:236px}.card-values,.card-values>span{font-size:17px}}
.wishes{max-width:1360px}.wishes h2{font-size:36px;line-height:1.22}
@media(min-width:1180px){.wish-grid{column-gap:16px}}
@media(min-width:901px) and (max-width:1439px){.wishes{margin-left:28px;margin-right:28px}}
@media(max-width:540px){.wishes h2{font-size:32px;line-height:1.2}}

.tree-point.complete .ornament{opacity:1}

.point-label>span,.point-label>small{display:block}.point-label>small{font-size:10px;color:#526b62;margin-top:1px}
