.dream-hub { overflow: clip; }
.dream-hub *, .dream-hub *::before, .dream-hub *::after { box-sizing: border-box; }
.dream-hub { color: var(--dark-text); background: var(--dark-bg); }
.sh-wrap { width: min(1192px, calc(100% - 64px)); margin-inline: auto; }
.sh-reading { width: min(760px, calc(100% - 48px)); margin: clamp(56px, 7vw, 106px) auto; }
.sh-hero { position: relative; isolation: isolate; overflow: hidden; margin: 8px; border-radius: 22px; background: #373044; }
.sh-hero-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 58% center; }
.sh-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg,transparent 5%,rgb(26 18 42 / .08) 19%,rgb(26 18 42 / .38) 57%,rgb(26 18 42 / .62)); }
.sh-hero-inner { padding: clamp(150px,17vw,244px) 20px 70px; text-align: center; display: grid; justify-items: center; color: #fff; }
.sh-hero h1 { margin: 0 auto; max-width: 760px; font-size: clamp(40px,5.6vw,82px); line-height: 1.01; font-weight: 550; letter-spacing: -.055em; text-wrap: balance; text-shadow: 0 2px 32px rgb(22 16 32 / .48); }
.sh-intro { max-width: 625px; margin: 20px auto 24px; font-size: clamp(16px,1.35vw,20px); line-height: 1.4; text-wrap: pretty; text-shadow: 0 1px 14px #201724; }
.sh-hero #dream-field {
  --color-muted: #e7dfee;
  --color-text: #fff;
  --color-input: rgb(16 12 28 / .50);
  --color-strong-line: rgb(255 255 255 / .37);
  --color-warning: #fff1bb;
  justify-items: center; width: min(100%, 552px); gap: 8px; text-align: center; padding: 18px 20px;
  background: rgb(20 16 31 / .58); backdrop-filter: blur(18px); border: 1px solid rgb(255 255 255 / .19); border-radius: 22px;
}
.sh-hero #dream-field label { font-size: 18px; }
.sh-hero #dream-field textarea { min-height: 52px; height: 52px; text-align: left; }
.sh-hero #dream-field .sonnik-submit { justify-self: center; min-height: 44px; margin: 2px 0; padding: .65rem 1.45rem; color: #171423; background: #fff; }
.sh-hero #dream-field .sonnik-field-caption { font-size: .79rem; max-width: 430px; line-height: 1.4; }
.sh-cloud { position: relative; display: block; width: clamp(156px,20vw,275px); height: auto; aspect-ratio: 1.25; object-fit: contain; margin: clamp(-50px,-4vw,-28px) auto clamp(35px,5vw,71px); filter: drop-shadow(0 10px 24px rgb(149 113 203 / .22)); }
.sh-steps, .sh-themes { text-align: center; }
.sh-wrap h2, .sh-faq h2 { font-size: clamp(31px,3.8vw,52px); margin: 0; line-height: 1.06; font-weight: 520; letter-spacing: -.048em; text-wrap: balance; }
.sh-wrap h3 { font: 520 clamp(19px,1.7vw,25px)/1.14 var(--font-heading); letter-spacing: -.027em; }
.sh-steps ol, .sh-themes ul, .sh-cards { margin: 0; padding: 0; list-style: none; }
.sh-step-grid, .sh-themes ul { display: grid; gap: 16px; }
.sh-step-grid { grid-template-columns: repeat(3,minmax(0,1fr)); padding-top: 32px !important; counter-reset: step; }
.sh-step-grid li { counter-increment: step; }
.sh-object { position: relative; display: grid; place-items: center; border-radius: 20px; overflow: hidden; background: radial-gradient(ellipse at 50% 70%,rgb(155 140 255 / .16),transparent 80%),var(--dark-glass); }
.sh-object img { display: block; width: 55%; height: 172px; margin: 22px 0; object-fit: contain; }
.sh-object::after { content: counter(step); position: absolute; top: 16px; left: 16px; width: 30px; height: 30px; border: 1px solid var(--dark-line); border-radius: 100%; display: grid; place-items: center; font-size: .875rem; }
.sh-step-grid h3, .sh-themes h3 { margin: 16px 0 6px; }
.sh-step-grid p, .sh-themes p, .sh-trust p, .sh-group p { color: var(--dark-muted); line-height: 1.45; }
.sh-step-grid p, .sh-themes p { margin: 0 auto; max-width: 32ch; }
.sh-themes, .sh-trust, .sh-catalogue { margin-top: clamp(64px,9vw,140px); }
.sh-themes ul { grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 32px; }
.sh-themes li { padding-bottom: 20px; border-bottom: 1px solid var(--dark-line); }
.sh-themes img { display: block; width: 100%; height: auto; border-radius: 18px; aspect-ratio: .8; object-fit: cover; }
.sh-trust { display: flex; align-items: center; justify-content: center; gap: clamp(20px,5vw,68px); padding: clamp(30px,5vw,76px); border-radius: 32px; background: radial-gradient(at 15% 50%,rgb(155 140 255 / .21),transparent 48%),var(--dark-glass); }
.sh-trust img { display: block; border-radius: 50%; width: clamp(100px,13vw,180px); height: auto; }
.sh-trust div { max-width: 595px; }
.sh-trust p { font-size: 1.06rem; }
.sh-cta { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 22px; border-radius: 30px; font-weight: 600; background: var(--dark-button); color: var(--dark-button-text); text-decoration: none; }
.sh-catalogue > h2 { text-align: center; }
.sh-search { max-width: 620px; position: relative; margin: 24px auto 0; }
.sh-search input { font: inherit; width: 100%; min-height: 52px; padding: 12px 18px 12px 45px; border-radius: 28px; border: 1px solid var(--dark-line); color: var(--dark-text); background: var(--dark-glass); }
.sh-search input::placeholder { color: var(--dark-muted); opacity: 1; }
.sh-search::before, .sh-search::after { content: ''; position: absolute; pointer-events: none; color: var(--dark-muted); }
.sh-search::before { left: 18px; top: 17px; width: 13px; height: 13px; border: 1.7px solid; border-radius: 100%; }
.sh-search::after { left: 28px; top: 30px; height: 1.7px; width: 7px; background: currentColor; transform: rotate(45deg); }
.sh-group { margin: clamp(38px,6vw,84px) 0; }
.sh-group h2 { font-size: clamp(28px,2.7vw,39px); }
.sh-group p { margin: 8px 0 20px; }
.sh-cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.sh-card { display: block; padding: 16px 16px 21px; border-radius: 18px; color: var(--dark-text); background: var(--dark-glass); text-align: center; text-decoration: none; transition: background .16s; }
.sh-card:is(:hover,:focus-visible) { background: var(--dark-highlight); }
.sh-card img { width: 100%; height: auto; aspect-ratio: 1.08; border-radius: 13px; object-fit: cover; display: block; }
.sh-card h3 { font-size: 1.125rem; margin: 14px 0 0; }
.sh-faq h2 { margin-bottom: 20px; }
.sh-faq details { border-bottom: 1px solid var(--dark-line); padding: 18px 0; }
.sh-faq details p { margin: 14px 0 0; line-height: 1.6; color: var(--dark-muted); }
.sh-faq summary { cursor: pointer; font-size: clamp(17px,2vw,21px); font-weight: 500; }
.sh-catalogue [hidden] { display: none; }
@media (max-width: 800px) {
  .sh-wrap { width: calc(100% - 36px); }
  .sh-themes ul, .sh-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sh-object img { height: 108px; }
  .sh-step-grid { gap: 10px; }
}
@media (max-width: 600px) {
  .sh-hero { margin: 0; border-radius: 0 0 22px 22px; }
  .sh-hero-inner { padding: 164px 16px 45px; }
  .sh-hero h1 { font-size: clamp(36px,10.5vw,49px); max-width: 12ch; }
  .sh-hero-backdrop { height: 83%; object-position: right top; }
  .sh-hero::before { background: linear-gradient(180deg,transparent 12%,rgb(43 32 54 / .3) 26%,#372c40 83%); }
  .sh-intro { margin: 12px auto 19px; font-size: 16px; }
  .sh-hero #dream-field { padding: 16px; }
  .sh-hero #dream-field textarea { height: 67px; }
  .sh-cloud { width: 150px; margin-top: -28px; margin-bottom: 36px; }
  .sh-step-grid, .sh-themes ul, .sh-cards { grid-template-columns: 1fr; gap: 28px; }
  .sh-object img { height: 156px; }
  .sh-themes img { max-height: 470px; }
  .sh-step-grid p, .sh-themes p { max-width: 340px; }
  .sh-trust { flex-direction: column; text-align: center; }
  .sh-search input { font-size: 15px; }
  .sh-reading { width: calc(100% - 36px); }
  .sh-cards { gap: 14px; }
}
