@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');:root{--ink:#173354;--blue:#cde9f6;--yellow:#ffd83d;--paper:#fffdf7;--line:#e5eaf0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Manrope,Arial,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}.top{max-width:1400px;margin:auto;padding:22px 5%;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{font-size:18px;line-height:.86;font-weight:800;letter-spacing:-1px;display:flex;align-items:center}.brand i{font-size:45px;color:#f8bd0d;font-style:normal;margin-left:6px}.top nav{display:flex;gap:34px;font-weight:700;font-size:14px}.top nav a:hover{color:#2381a3}.head-btn{border:1px solid var(--ink);border-radius:100px;padding:12px 20px;font-weight:800;font-size:13px}.hero{max-width:1350px;margin:12px auto 0;min-height:445px;border-radius:34px;background:#eaf6fc;display:grid;grid-template-columns:1.15fr .85fr;overflow:hidden;position:relative}.hero-copy{padding:70px 8%;position:relative;z-index:2}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:2px;font-weight:800;color:#4986a2}.hero h1{font-size:clamp(38px,4.1vw,67px);line-height:1.11;letter-spacing:-3px;margin:19px 0}.hero h1 em{font-style:normal;color:#e0a900}.hero p{font-size:17px;line-height:1.7;max-width:520px;margin:0 0 27px}.primary{display:inline-flex;align-items:center;gap:25px;justify-content:space-between;background:var(--yellow);border-radius:100px;padding:16px 25px;font-weight:800;box-shadow:0 5px 0 #f0c42e}.hero-art{display:grid;place-items:center;position:relative}.hero-orbit{width:min(360px,75%);aspect-ratio:1;border-radius:50%;background:var(--yellow);display:grid;place-items:center;transform:rotate(-9deg);box-shadow:35px 28px 0 #b4ddec}.hero-orbit b{text-align:center;font-size:clamp(29px,3.3vw,54px);line-height:.93;letter-spacing:-3px}.hero-orbit span{position:absolute;font-size:60px;right:-25px;top:-30px;color:#f6bd18}.tiny-star{position:absolute;bottom:38px;left:10%;font-size:75px;color:#80bed7}.section{max-width:1350px;margin:auto;padding:80px 28px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px}.section h2{font-size:clamp(30px,3vw,45px);letter-spacing:-1.7px;margin:12px 0 0}.section-head p{max-width:330px;font-size:14px;line-height:1.6;color:#667587}.section-head h2 span{font-size:16px;background:#eaf6fc;border-radius:50px;padding:6px 13px;vertical-align:middle}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:35px 0 25px}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid #d7e4eb;background:white;color:var(--ink);padding:10px 16px;border-radius:100px;cursor:pointer;font-size:12px;font-weight:800}.chip.active{background:var(--yellow);border-color:var(--yellow)}.search{border:1px solid #d7e4eb;border-radius:100px;background:white;padding:10px 16px;display:flex;align-items:center;gap:8px;min-width:220px}.search span{font-size:22px}.search input{border:0;outline:0;min-width:0;width:100%;font-size:13px;background:transparent}.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:21px}.tile{background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 6px 16px #233b5410;display:flex;flex-direction:column}.preview{width:100%;height:230px;border:0;background:#f1f7fa;display:grid;place-items:center;padding:18px;cursor:zoom-in}.preview img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 4px 4px #0001)}.tile-body{padding:17px;display:flex;flex-direction:column;flex:1}.tile-title{font-size:16px;line-height:1.35;margin:0 0 6px}.meta{color:#76869a;font-size:11px;margin:0 0 16px}.download-mini{margin-top:auto;display:block;text-align:center;border-radius:100px;background:var(--yellow);padding:12px;font-weight:800;font-size:12px}.empty{padding:50px;text-align:center;color:#667}.how{padding-top:50px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}.steps article{background:white;border:1px solid var(--line);padding:30px;border-radius:22px}.steps strong{color:#e5b70a;font-size:26px}.steps h3{margin:20px 0 8px}.steps p{line-height:1.7;font-size:14px;color:#667587}.support{background:#eaf6fc;border-radius:32px;margin:30px auto 80px;padding:55px;display:grid;grid-template-columns:1fr 1fr;gap:60px}.support p{max-width:500px;line-height:1.75;color:#536a7f}.support-links{display:grid;gap:10px;align-content:center}.support-links a{background:white;border:1px solid #d7e7f0;border-radius:14px;padding:17px 22px;font-weight:800;display:flex;justify-content:space-between}.support-links a:hover{background:var(--yellow)}footer{border-top:1px solid var(--line);padding:35px max(5%,calc((100vw - 1250px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;color:#63758a}.foot-brand{font-size:13px;color:var(--ink)}.foot-brand i{font-size:27px}dialog{width:min(1000px,94vw);max-height:90vh;border:0;border-radius:25px;padding:0;box-shadow:0 25px 90px #0004;color:var(--ink)}dialog::backdrop{background:#142d45b8}.close{position:absolute;right:14px;top:14px;z-index:2;border:0;border-radius:50%;background:#fff;font-size:28px;width:42px;height:42px;cursor:pointer}.viewer-layout{display:grid;grid-template-columns:1.3fr 1fr}.viewer-image{background:#edf7fa;min-height:440px;display:grid;place-items:center;padding:30px}.viewer-image img{max-width:100%;max-height:70vh;object-fit:contain}.viewer-info{padding:65px 40px;align-self:center}.viewer-info h2{font-size:32px}.viewer-info p{color:#67798a;line-height:1.6}.fine{font-size:12px;margin-top:24px}@media(max-width:1000px){.gallery{grid-template-columns:repeat(3,1fr)}.hero-copy{padding:55px 6%}.hero h1{letter-spacing:-1px}.support{margin-left:20px;margin-right:20px}}@media(max-width:700px){.top{padding:18px 5%}.top nav{display:none}.head-btn{font-size:11px}.hero{margin:5px 12px;grid-template-columns:1fr}.hero-copy{padding:45px 26px}.hero-art{min-height:235px}.hero-orbit{width:190px}.hero-orbit b{font-size:29px}.section{padding:55px 16px}.section-head{display:block}.toolbar{display:block}.chips{margin-bottom:15px}.search{width:100%}.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.preview{height:175px;padding:10px}.tile-body{padding:12px}.tile-title{font-size:13px}.steps{grid-template-columns:1fr}.support{grid-template-columns:1fr;gap:15px;padding:30px 22px}.viewer-layout{grid-template-columns:1fr}.viewer-image{min-height:230px;max-height:45vh}.viewer-info{padding:24px}.viewer-info h2{font-size:24px}footer{flex-wrap:wrap;padding:25px}}
/* Карточки: изображение всегда остаётся внутри собственной области. */
.tile{min-width:0;isolation:isolate}
.preview{height:auto;aspect-ratio:1 / 1;min-height:0;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 auto;padding:18px}
.preview img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;min-width:0;min-height:0;filter:none}
.tile-body{position:relative;z-index:1;background:#fff;min-width:0}
.tile-title{overflow-wrap:anywhere}
@media(max-width:700px){.preview{height:auto;aspect-ratio:1 / 1;padding:10px}}

/* V3: authentic sun mark and prominent voluntary thank-you CTA */
.brand-sun{width:76px;height:76px;object-fit:contain;margin-left:10px;flex-shrink:0}

.head-btn{background:#ffd83d;border:2px solid #f2c21a;font-size:16px;padding:16px 24px;box-shadow:0 4px 0 #e8bd2c;text-align:center;white-space:nowrap;transition:transform .15s,box-shadow .15s}
.head-btn:hover{transform:translateY(-2px);box-shadow:0 6px 0 #e8bd2c}
.support h2{font-size:clamp(38px,4.2vw,58px);line-height:1.08}
.hero-sun{position:absolute;width:95px;height:95px;object-fit:contain;right:-30px;top:-35px;transform:rotate(9deg)}
.foot-brand .brand-sun{width:44px;height:44px}
@media(max-width:1100px){.top nav{gap:16px}.head-btn{font-size:13px;padding:13px 16px}.brand-sun{width:60px;height:60px}}
@media(max-width:700px){.top{gap:10px}.brand{font-size:14px}.brand-sun{width:48px;height:48px;margin-left:4px}.head-btn{font-size:11px;padding:11px 12px;white-space:normal;max-width:170px}.foot-brand .brand-sun{width:36px;height:36px}}

.collection + .collection {
  margin-top: 32px;
}

.collection-title {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.7vw, 1.75rem);
}

.tile-title {
  font-size: 1rem;
}

.viewer-info p {
  overflow-wrap: anywhere;
}

.download-mini {
  font-size: 0.875rem;
}

.download-mini:hover {
  background: #ffd83d;
}

button.download-mini {
  border: 0;
  color: inherit;
  cursor: pointer;
}

button.download-mini:disabled {
  cursor: progress;
  opacity: 0.75;
}

.download-status {
  color: #526578;
  font-size: 0.875rem;
  margin: 0;
}

.download-status:not(:empty) {
  margin-top: 8px;
}

.top nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.donation-options {
  padding: 16px;
  border: 1px solid #d7e7f0;
  border-radius: 14px;
}

.donation-options h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.donation-options > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.donation-options a {
  flex: 1 1 9rem;
  justify-content: center;
  padding: 11px 14px;
  text-align: center;
}

.idea-page {
  width: min(100% - 32px, 720px);
  margin: 48px auto 80px;
}

.idea-page h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
}

.idea-intro {
  color: #40576b;
  line-height: 1.6;
}

.idea-form {
  padding: clamp(20px, 5vw, 36px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
}

.idea-field {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.idea-field label {
  font-weight: 800;
}

.idea-field small,
.idea-privacy {
  color: #4d6172;
  font-size: 0.875rem;
}

.idea-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #9aafbf;
  border-radius: 10px;
  color: inherit;
  font: inherit;
  resize: vertical;
}

.idea-field input[type="file"] {
  width: 100%;
  font: inherit;
}

.idea-consent {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 12px;
  background: #eaf6fc;
  line-height: 1.55;
}

.idea-consent p {
  margin: 0 0 12px;
}

.idea-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 700;
}

.idea-consent input {
  margin: 0.3em 0 0;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 1.1rem;
}

.idea-form button.primary {
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.idea-privacy {
  display: block;
  margin-top: 18px;
  line-height: 1.5;
}

.idea-privacy a {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .top .head-btn {
    grid-column: 2;
    grid-row: 1;
  }

  .top nav {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
}
