@font-face {
  font-family: 'Cormorant Veles';
  src: url('/assets/fonts/cormorant-garamond-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope Veles';
  src: url('/assets/fonts/manrope-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

* { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --ink: #ecf6f7;
  --muted: #9bb0b8;
  --dim: #657981;
  --ice: #9bdcf0;
  --gold: #dec189;
  --line: rgba(143, 207, 226, .2);
  --danger: #d59698;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background: #03090c;
  color: var(--ink);
  font-family: 'Manrope Veles', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, textarea { font: inherit; }
.room-scene { z-index: 0; }
.room-backdrop { filter: brightness(.39) saturate(.7) contrast(1.12); background-position: center 48%; }
.room-vignette {
  background: linear-gradient(180deg, rgba(2, 7, 9, .25), rgba(2, 7, 9, .48)), radial-gradient(ellipse at 50% 32%, transparent 0 20%, rgba(1, 5, 7, .22) 62%, rgba(1, 4, 6, .66) 100%);
}
.stars { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
.star { position: absolute; width: 1px; height: 1px; border-radius: 50%; background: #dff7ff; opacity: .3; }

.dream-site-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(157, 218, 235, .12);
}
.dream-brand { display: inline-flex; align-items: center; gap: 10px; color: #eef8f8; font-family: 'Cormorant Veles', Georgia, serif; font-size: 24px; font-weight: 600; text-decoration: none; }
.dream-brand img { width: 30px; height: 30px; opacity: .9; }
.dream-site-header nav { display: flex; align-items: center; gap: 24px; }
.dream-site-header nav a { color: rgba(218, 233, 236, .7); font-size: 13px; text-decoration: none; }
.dream-site-header nav a:hover { color: #fff; }
.dream-site-header .dream-enter { padding: 10px 14px; border: 1px solid rgba(222, 193, 137, .32); color: rgba(242, 221, 181, .92); }

.dream-wrap { position: relative; z-index: 2; width: min(980px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0 64px; }
.dream-hero { max-width: 740px; margin: 0 auto 46px; text-align: center; }
.eyebrow { margin: 0 0 12px; color: var(--ice); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.dream-hero h1 { margin: 0; font-family: 'Cormorant Veles', Georgia, serif; font-size: clamp(48px, 7vw, 78px); font-weight: 600; line-height: .96; text-shadow: 0 10px 34px rgba(113, 202, 231, .12); }
.lede { max-width: 620px; margin: 22px auto 0; color: rgba(211, 226, 230, .78); font-size: 16px; line-height: 1.7; }
.dream-continuity { display: inline-flex; align-items: center; gap: 9px; margin: 20px 0 0; color: rgba(222, 193, 137, .78); font-size: 12px; }
.dream-continuity span { color: var(--ice); }

.dream-sigil { position: relative; width: 94px; height: 76px; margin: 0 auto 20px; filter: drop-shadow(0 0 22px rgba(112, 204, 232, .22)); }
.dream-sigil::before, .dream-sigil::after { content: ''; position: absolute; left: 50%; top: 50%; border: 1px solid rgba(150, 217, 237, .22); border-radius: 50%; transform: translate(-50%, -50%); }
.dream-sigil::before { width: 70px; height: 70px; animation: dream-orbit 24s linear infinite; }
.dream-sigil::after { width: 54px; height: 54px; border-color: rgba(222, 193, 137, .22); }
.dream-sigil i { position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border: 1px solid rgba(225, 195, 137, .86); border-radius: 72% 12% 72% 12%; transform: rotate(45deg) scale(.72); }
.dream-sigil span { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 1px solid rgba(173, 226, 242, .9); border-radius: 50%; background: radial-gradient(circle, #02080a 0 2px, #e7c986 3px 5px, rgba(82, 177, 207, .56) 6px 8px, #061116 9px); box-shadow: 0 0 20px rgba(113, 205, 233, .42); animation: dream-watch 8s ease-in-out infinite; }

.dream-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 260px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgba(5, 16, 21, .93), rgba(4, 11, 15, .82)); box-shadow: 0 28px 90px rgba(0, 0, 0, .28); backdrop-filter: blur(16px); }
.dream-form { min-width: 0; padding: 34px 36px 30px; }
.form-kicker { display: block; margin-bottom: 20px; color: rgba(222, 193, 137, .72); font-family: 'Cormorant Veles', Georgia, serif; font-size: 17px; font-style: italic; }
.lbl { display: block; margin-bottom: 10px; color: var(--ice); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
textarea { display: block; width: 100%; min-height: 180px; resize: vertical; padding: 18px 19px; border: 1px solid rgba(148, 211, 229, .2); border-radius: 4px; outline: none; background: rgba(2, 8, 11, .72); color: var(--ink); font-family: 'Cormorant Veles', Georgia, serif; font-size: 19px; line-height: 1.55; transition: border-color .2s, box-shadow .2s; }
textarea:focus { border-color: rgba(157, 220, 239, .52); box-shadow: 0 0 0 3px rgba(124, 201, 225, .06); }
textarea::placeholder { color: rgba(135, 157, 166, .5); }
.go { width: 100%; min-height: 52px; margin-top: 13px; border: 1px solid rgba(223, 196, 144, .3); border-radius: 4px; background: linear-gradient(125deg, rgba(122, 201, 226, .94), rgba(179, 218, 225, .94) 48%, rgba(220, 191, 132, .92)); color: #061116; cursor: pointer; font-size: 14px; font-weight: 800; transition: filter .2s, transform .15s; }
.go:hover { filter: brightness(1.07); }
.go:active { transform: translateY(1px); }
.go:disabled { opacity: .56; cursor: wait; }
.note { margin-top: 10px; color: var(--dim); font-size: 11px; text-align: center; }
.err { min-height: 18px; margin-top: 9px; color: var(--danger); font-size: 12px; }
.dream-guide { padding: 38px 28px; border-left: 1px solid rgba(148, 211, 229, .12); background: rgba(8, 15, 18, .36); }
.dream-guide > span { color: rgba(222, 193, 137, .82); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.dream-guide ol { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: guide; }
.dream-guide li { position: relative; margin-top: 18px; padding-left: 28px; color: rgba(178, 196, 202, .68); font-size: 12px; line-height: 1.55; counter-increment: guide; }
.dream-guide li::before { content: '0' counter(guide); position: absolute; left: 0; top: 1px; color: rgba(140, 211, 233, .56); font-size: 9px; }
.dream-guide b { color: rgba(226, 236, 238, .88); font-weight: 600; }

.answer { display: none; margin-top: 28px; padding: 28px 34px 34px; border: 1px solid rgba(148, 211, 229, .2); background: rgba(3, 12, 16, .9); backdrop-filter: blur(16px); }
.answer.on { display: block; }
.answer-mark { margin-bottom: 18px; color: var(--ice); font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.answer-body { color: rgba(229, 238, 239, .9); font-family: 'Cormorant Veles', Georgia, serif; font-size: 18px; line-height: 1.75; }
.answer-body strong { color: #eed7a8; font-weight: 600; }
.answer-body em { color: #aee3ef; }
.answer-body .md-h { margin: 24px 0 7px; color: var(--ice); font-family: 'Manrope Veles', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.answer-body .md-h:first-child { margin-top: 0; }
.answer-body ul { margin: 8px 0; padding: 0; list-style: none; }
.answer-body li { position: relative; margin: 6px 0; padding-left: 18px; }
.answer-body li::before { content: '◆'; position: absolute; left: 0; top: 8px; color: var(--gold); font-size: 7px; }
.thinking { color: var(--dim); font-family: 'Manrope Veles', sans-serif; font-size: 13px; }
.thinking::after { content: ''; animation: dots 1.4s steps(4, end) infinite; }

.cta { margin-top: 70px; padding: 48px 12%; border-top: 1px solid rgba(222, 193, 137, .18); border-bottom: 1px solid rgba(222, 193, 137, .18); background: linear-gradient(90deg, transparent, rgba(13, 24, 27, .72), transparent); text-align: center; }
.cta h2 { margin: 0; font-family: 'Cormorant Veles', Georgia, serif; font-size: clamp(36px, 5vw, 54px); font-weight: 500; }
.cta > p:not(.eyebrow) { max-width: 620px; margin: 15px auto 22px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.cta a { display: inline-flex; align-items: center; gap: 28px; min-height: 48px; padding: 0 20px; border: 1px solid rgba(222, 193, 137, .36); background: rgba(221, 190, 130, .08); color: #efd9ab; font-size: 13px; font-weight: 700; text-decoration: none; }
.cta.is-ready { background: linear-gradient(90deg, transparent, rgba(25, 35, 31, .8), transparent); }

.seo { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; margin-top: 74px; padding: 0 18px; }
.seo h2 { margin: 0; font-family: 'Cormorant Veles', Georgia, serif; font-size: 36px; font-weight: 500; line-height: 1.05; }
.seo p { margin: 0 0 16px; color: rgba(157, 177, 184, .68); font-size: 13px; line-height: 1.75; }
.dream-depth { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; margin-top: 74px; padding: 64px 18px 0; border-top: 1px solid rgba(155,217,255,.16); }
.dream-depth h2, .dream-faq h2 { margin: 0; font-family: 'Cormorant Veles', Georgia, serif; font-size: 36px; font-weight: 500; line-height: 1.05; }
.dream-depth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.dream-depth-grid article { padding: 0 0 22px; border-top: 1px solid rgba(155,217,255,.14); }
.dream-depth-grid span { display: block; padding-top: 14px; color: var(--copper); font-size: 9px; }
.dream-depth-grid h3 { margin: 8px 0; font-family: 'Cormorant Veles', Georgia, serif; font-size: 24px; font-weight: 500; }
.dream-depth-grid p { margin: 0; color: rgba(157, 177, 184, .68); font-size: 12px; line-height: 1.7; }
.dream-faq { max-width: 820px; margin: 70px auto 0; padding: 58px 18px 0; border-top: 1px solid rgba(155,217,255,.16); }
.dream-faq h2 { margin-bottom: 24px; }
.dream-faq details { border-top: 1px solid rgba(155,217,255,.14); }
.dream-faq details:last-child { border-bottom: 1px solid rgba(155,217,255,.14); }
.dream-faq summary { display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 18px; color: #e4edf0; font-size: 13px; cursor: pointer; list-style: none; }
.dream-faq summary::-webkit-details-marker { display: none; }
.dream-faq summary::after { content: '+'; color: var(--copper); font-size: 19px; }
.dream-faq details[open] summary::after { content: '−'; }
.dream-faq details p { margin: -2px 0 20px; color: rgba(157,177,184,.72); font-size: 12px; line-height: 1.75; }
.dream-footer { position: relative; z-index: 2; display: flex; justify-content: space-between; width: min(980px, calc(100% - 40px)); margin: 0 auto; padding: 26px 0 34px; border-top: 1px solid rgba(148, 211, 229, .1); color: var(--dim); font-size: 11px; }
.dream-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.dream-footer a { color: var(--muted); text-decoration: none; }

@keyframes dream-orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes dream-watch { 0%, 42%, 48%, 100% { transform: translateX(0) scaleY(1); } 45% { transform: scaleY(.12); } 68% { transform: translateX(-3px) scaleY(1); } 78% { transform: translateX(3px) scaleY(1); } }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

@media (max-width: 760px) {
  .dream-site-header { width: calc(100% - 28px); min-height: 62px; }
  .dream-site-header nav > a:not(.dream-enter) { display: none; }
  .dream-site-header .dream-enter { display:inline-flex;align-items:center;min-height:44px;padding:8px 10px;font-size:12px; }
  .dream-wrap { width: calc(100% - 28px); padding: 42px 0 46px; }
  .dream-hero { margin-bottom: 30px; }
  .dream-hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .lede { font-size: 14px; }
  .dream-continuity { max-width: 320px; line-height: 1.5; }
  .dream-workspace { display: block; }
  .dream-form { padding: 26px 18px 22px; }
  textarea { min-height: 170px; font-size: 18px; }
  .dream-guide { padding: 22px 18px; border-top: 1px solid rgba(148, 211, 229, .12); border-left: 0; }
  .dream-guide ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
  .dream-guide li { margin: 0; padding: 22px 0 0; font-size: 10px; }
  .answer { padding: 24px 18px 28px; }
  .answer-body { font-size: 17px; }
  .cta { margin-top: 48px; padding: 38px 12px; }
  .seo { display: block; margin-top: 50px; padding: 0; }
  .seo > div + div { margin-top: 22px; }
  .dream-depth { display: block; margin-top: 50px; padding: 46px 0 0; }
  .dream-depth-grid { grid-template-columns: 1fr; margin-top: 26px; }
  .dream-faq { margin-top: 50px; padding: 42px 0 0; }
  .dream-footer { width: calc(100% - 28px); }
  .dream-footer > span { display: none; }
  .dream-footer nav { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .room-backdrop, .room-fire-glow, .room-fire-glow::before, .room-moon-glow, .room-moon-glow::after, .room-atmosphere, .dream-sigil::before, .dream-sigil span { animation: none !important; }
}
